LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default Workbook.Save that also updates XL version?

Thanks, Bernie. That's probably how I'll have to go. I want to SaveAs
an Excel 2003 file - what FileFormat do I use for that? I tried
MsgBox ActiveWorkbook.FileFormat and got -4143??

Ed

On Mar 24, 3:04*pm, "Bernie Deitrick" <deitbe @ consumer dot org
wrote:
Ed,

The Save method defaults to the current application's workbook version.

You could use:

Application.DisplayAlerts = False
ThisWorkbook.SaveAs ThisWorkbook.FullName, FileFormat:=xlExcel4Workbook

Application.DisplayAlerts = True

HTH,
Bernie
MS Excel MVP

"Ed from AZ" wrote in ...



A database query program outputs as an Excel 3/4 version file. *When I
open in Excel, make any changes and save the file, I get the dialog
asking if I want to save in the latest version (I have XL 2003 on my
machine). *I'm creating a macro to do most of the changes I normally
make to these files. *Is there anything I can add to the Workbook.Save
at the end of ther routine to tell Excel to update the version? *Or am
I stuck clicking OK every time I run this macro? *(I thought of
SavesAs, but I don't want a new file - I just want this one saved.)


Ed- Hide quoted text -


- Show quoted text -


 
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
How do I save an Excel 97-2003 version or 2007 version for Mac 200 Bronigal Excel Discussion (Misc queries) 1 December 7th 09 08:04 AM
Formula updates with SAVE AS JenG Excel Worksheet Functions 1 July 20th 09 06:23 PM
Macro - Save an Open Excel Version 4 as current version of Excel planomax Excel Programming 1 February 6th 07 09:41 PM
Open, allow link updates, and Save CLR Excel Programming 2 May 7th 05 10:16 PM
Workbook.Save not saving the updates [email protected] Excel Programming 2 May 6th 05 04:41 PM


All times are GMT +1. The time now is 04:51 PM.

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"