LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 157
Default Meaning of specifications in the Text to column feature

Hi,

Im trying to programmatically open a textpad kind of file (and then save it
as excel file) and I recorded a macro for the same. The relevant line is
.....

Workbooks.OpenText Filename:= _
"C:\Documents and Settings\abc\Desktop\dev11022.xls", Origin:=437,
StartRow _
:=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _
ConsecutiveDelimiter:=False, Tab:=False, Semicolon:=False,
Comma:=False _
, Space:=False, Other:=False, FieldInfo:=Array(1, 1), _
TrailingMinusNumbers:=True

I wanted to understand
a) What "Origin" means
b) Is Startrow the row from which textpad will be read?
c) I want to export whole of the textpad in to excel without any exclusions
in such a way that each row in the texpad occupies a single cell in Excel.
In view of that would it be more safer if I remove the specification of
TextQualifier:=xlDoubleQuote. If yes, what value should I put following the
equal to sign in the text qualifier statement.
d) What does FieldInfo:=Array(1, 1). Based on my requirement mentioned in
point c) does the specification in Fieldinfo pose a danger for all my data
not getting transferred.
e) What does TrailingMinusNumbers:=True mean. Again does the trailing minus
number specification affect the amount and the way that gets stored in each
cell of the excel.


Thanks a lot,
Hari
India


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incremental dates based upon specifications itybitty68 Excel Worksheet Functions 1 November 20th 09 09:12 PM
Import File With Specifications Ripper Excel Discussion (Misc queries) 8 April 5th 08 01:18 AM
More than 3 specifications for conditional formatting in Excel tpage Excel Discussion (Misc queries) 3 September 18th 06 10:52 PM
How can I automatically rearrange cells to my specifications? Frederique38 Excel Discussion (Misc queries) 3 February 24th 06 08:32 AM
How to increase colums specifications? Consulting guy Setting up and Configuration of Excel 3 November 13th 05 04:21 AM


All times are GMT +1. The time now is 04:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"