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: 52
Default SaveAs in Excel97-2003 format

I am working in Excel 2000 on a machine which also has Excel 2007 installed.

In a macro this line is causing Excel to crash:

bk.SaveAs Filename:=excel_output_file, FileFormat:=xlNormal

bk is a workbook and excel_output_file is a string ending with .xls

Is there a problem with the xlNormal value? Is there a value which will
specify Excel 97-2003 format which would work? (Because I opened the workbook
from a .csv file if I leave out the FileFormat parameter it saves in csv
format which I don't want.)

Grateful for advice.


 
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
SaveAs in xlNormal Format BEEJAY Excel Programming 2 November 14th 07 09:02 PM
Invoice templet Excel97 to 2003 invoice toolbar missing MarolynInMarion Excel Discussion (Misc queries) 0 August 19th 05 07:15 PM
Excel 2003 pivot table has less functionnalities than in Excel97 blandineb64 Excel Discussion (Misc queries) 1 June 17th 05 10:59 AM
Compatibility issue? Excel97/2003 HBj[_3_] Excel Programming 4 January 3rd 05 09:15 PM
VBA - SaveAs hangs (2003 vs 2k ?) mtrak Excel Programming 2 June 7th 04 06:08 PM


All times are GMT +1. The time now is 05:56 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"