Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Saving workbooks

Hi,

I'm writing a macro that opens an Excel version 3 file,
changes it and then saves it.

Normally when you change an older version Excel file, you
get a prompt asking you if you want to update the file to
the new excel (in my case Excel 97) or leave it in the
current format.

How do you control this from within VBA, so you can decide
when it should update the file and when not.

Help appreciated.

Dell
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Saving workbooks

use the fileformat argument to the SaveAs method of the workbook object.

--
Regards,
Tom Ogilvy


"Dell" wrote in message
...
Hi,

I'm writing a macro that opens an Excel version 3 file,
changes it and then saves it.

Normally when you change an older version Excel file, you
get a prompt asking you if you want to update the file to
the new excel (in my case Excel 97) or leave it in the
current format.

How do you control this from within VBA, so you can decide
when it should update the file and when not.

Help appreciated.

Dell



Reply
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
Saving Workbooks Jamad Excel Discussion (Misc queries) 2 April 10th 08 03:33 PM
Saving multiple Workbooks JBC Excel Discussion (Misc queries) 2 July 10th 07 09:28 AM
Shared Workbooks Saving JenPrl Excel Discussion (Misc queries) 0 March 30th 07 01:52 AM
Saving button on all workbooks Todd Huttenstine[_2_] Excel Programming 3 December 29th 03 12:11 PM
saving excel workbooks Neil Benn Excel Programming 0 November 10th 03 05:19 PM


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