Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there. the following code (to import CSV data into worksheet) seems to
work ok in XL2002+, but results in an error on XL2000 regarding the opentext command (this error was reported to me, and sadly i dont have the error code etc). I suspect that either one of the operands is invalid in XL2000, or XL2000 is a little more strict and i have left something out... please advise. TIA Workbooks.OpenText Filename:=sPath, Origin:=437, StartRow:=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Semicolon:=False, Comma:=True With ActiveWorkbook .Worksheets(1).UsedRange.Copy copyTo.Range("A1") .Close False End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
XL2000 Links Between Workbooks | Excel Worksheet Functions | |||
Workbooks.OpenText StartRow:=2 Not Skipping Row 1 | Excel Programming | |||
Workbooks.OpenText does not work on XP. HELP !!! | Excel Programming | |||
How to open UTF-8 files with Workbooks.OpenText | Excel Programming | |||
Workbooks.OpenText | Excel Programming |