ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel 2000 (https://www.excelbanter.com/excel-programming/309407-excel-2000-a.html)

antinoz

Excel 2000
 
does anybody have example code for importing a txt file using a query table
Set shFirstQtr = Workbooks(1).Worksheets(1) etc etc
with .TextFileParseType = xlFixedWidth that Acctually works in excel 2000.

The excel help file code does'nt work in excel 2000 version 9

it just imports the data into 1 column usually D

if anybody has a example that works in excel 2000 I would Greatly appreciate
it.

antinoz

Excel 2000
 
Thanks Sebastienm,

After alittle tweaking of the recorded marco everythings working perfectly

A BIG Thank YOU

ant

"antinoz" wrote:

does anybody have example code for importing a txt file using a query table
Set shFirstQtr = Workbooks(1).Worksheets(1) etc etc
with .TextFileParseType = xlFixedWidth that Acctually works in excel 2000.

The excel help file code does'nt work in excel 2000 version 9

it just imports the data into 1 column usually D

if anybody has a example that works in excel 2000 I would Greatly appreciate
it.


sebastienm

Excel 2000
 
You're welcome.
Glad i could help.
Sébastien

"antinoz" wrote:

Thanks Sebastienm,

After alittle tweaking of the recorded marco everythings working perfectly

A BIG Thank YOU

ant

"antinoz" wrote:

does anybody have example code for importing a txt file using a query table
Set shFirstQtr = Workbooks(1).Worksheets(1) etc etc
with .TextFileParseType = xlFixedWidth that Acctually works in excel 2000.

The excel help file code does'nt work in excel 2000 version 9

it just imports the data into 1 column usually D

if anybody has a example that works in excel 2000 I would Greatly appreciate
it.



All times are GMT +1. The time now is 01:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com