Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How about importing the data into a new worksheet? Then you'll be in
control of how EXCEL interprets the file, even if the file does have the CSV extension. For example, something like: Workbooks.Add With ActiveSheet.QueryTables.Add(Connection:= _ "TEXT;C:\Documents and Settings\Administrator\My Documents\My Spreadsheets\Temp\Test.csv" _ , Destination:=Range("A1")) .AdjustColumnWidth = True .TextFileParseType = xlDelimited .TextFileSemicolonDelimiter = True .Refresh BackgroundQuery:=False End With |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I stop blank workbook from opening when opening an existing | Excel Discussion (Misc queries) | |||
Opening files in Excel 2003 saved in Excel 2000 without data loss... | Excel Discussion (Misc queries) | |||
Trouble opening large size Excel file 155Mb in Excel 2007 | Excel Discussion (Misc queries) | |||
REF errors when opening excel in xp. works fine when opening wor. | Excel Discussion (Misc queries) | |||
excel VBA problem - setting workbook as variable & opening/re-opening | Excel Programming |