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: 12
Default hope someone can help with excel save with 2003 and 2007 installed on my computer

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
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
Exel 2003 and Excel 2007 on same computer William[_2_] Excel Discussion (Misc queries) 1 November 17th 09 01:24 PM
opening files in excel 2003 when 2007 is installed Wade Excel Programming 1 October 20th 08 08:12 PM
how to use Excel 2007 diskette on a computer with Excel 2003 grandmalj Excel Discussion (Misc queries) 1 June 19th 08 12:35 AM
cannot open any excel 2003 files with newly installed 2007 beta ritter Setting up and Configuration of Excel 1 October 17th 06 09:21 PM
How to check programmatically whether Excel is installed on computer? Jack Excel Programming 7 February 15th 04 02:30 AM


All times are GMT +1. The time now is 02:35 AM.

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"