Activeworkbook.Saveas (FileFormats)

purceld2

Registered User.
Local time
Today, 19:54
Joined
Dec 4, 2008
Messages
79
I am using the above command in some VBA code and it is saving the spreadsheet in Excel 5.0/95 Format I am using defaults.

I understand I can use FileFormat:=

what value will give me Excel 2003 format

Thanks in advance

Line of Code below

Code:
xlObj.activeworkbook.saveas "c:\documents and settings\802284714\My Documents\PC Data\Supplier Gate Call 4.xls"
 
Have you tried changing the reference?

To do this, open the Visual Basic page and on the menu click Tools/References - I have Microsoft Excel 11.0 Object Library selected and this saves mine in 2003.
 

Users who are viewing this thread

Back
Top Bottom