Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This works but I am having a lot of problems with the output.
the input file has 470 variables in a csv file so I can't use 2003. but the only thing I can get is an xls file with the first 255 variables .... I thought maybe a direct path to the 2007 install would help but it is still saving as a 2003 output xls file changing the extension to xlsx only makes the save not open becasue of incorrect naming. how can I make this save as a full xlsx file with all of the variables? thanks for any help I am stumped. NOT SURE ABOUT THE PATH it runs but like I said I only get xls type of output so I don't know if 2003 or 2007 is running...how do I tell? Dim oExcel As Object Dim oBook As Object Dim oSheet As Object oXLPath = """C:\Program Files\Microsoft Office\Office12"" " & "/automation -Embedding" Set oExcel = CreateObject("Excel.Application") Set oBook = oExcel.Workbooks.Open("C:\20pagetest.csv") Debug.Print xlCurrentPlatformText oBook.SaveAs "c:\booktest.xlsx", xlWorkbookNormal oExcel.Quit |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Exel 2003 and Excel 2007 on same computer | Excel Discussion (Misc queries) | |||
opening files in excel 2003 when 2007 is installed | Excel Programming | |||
how to use Excel 2007 diskette on a computer with Excel 2003 | Excel Discussion (Misc queries) | |||
cannot open any excel 2003 files with newly installed 2007 beta | Setting up and Configuration of Excel | |||
How to check programmatically whether Excel is installed on computer? | Excel Programming |