Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 2007: CheckCompatibility not honored

If I set CheckCompatibility to false on a workbook in a macro, and then do a SaveAs to downrev it to, say, Excel 2003 format, the
compatibility checker still runs...which is annoying.

How do I get Excel to NOT run the compatibility checker when saving files to earlier version from within a macro?

- Mark
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default CheckCompatibility not honored

Try this,

Set DisplayAlerts Property to false before your code for saving & set to
true afterwards


Application.DisplayAlerts = False
'codes for saving the workbook
Application.DisplayAlerts = True


Regards,
Shailesh Shah
http://in.geocities.com/shahshaileshs/
(Excel Add-ins Page)
If You Can't Excel with Talent, Triumph with Effort.




"Mark Olbert" wrote in message
...
If I set CheckCompatibility to false on a workbook in a macro, and then do
a SaveAs to downrev it to, say, Excel 2003 format, the
compatibility checker still runs...which is annoying.

How do I get Excel to NOT run the compatibility checker when saving files
to earlier version from within a macro?

- Mark



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default CheckCompatibility not honored

That did it. Thanks!

- Mark

On Sun, 15 Jul 2007 14:28:37 +0530, "shah shailesh" wrote:

Try this,

Set DisplayAlerts Property to false before your code for saving & set to
true afterwards


Application.DisplayAlerts = False
'codes for saving the workbook
Application.DisplayAlerts = True


Regards,
Shailesh Shah
http://in.geocities.com/shahshaileshs/
(Excel Add-ins Page)
If You Can't Excel with Talent, Triumph with Effort.




"Mark Olbert" wrote in message
.. .
If I set CheckCompatibility to false on a workbook in a macro, and then do
a SaveAs to downrev it to, say, Excel 2003 format, the
compatibility checker still runs...which is annoying.

How do I get Excel to NOT run the compatibility checker when saving files
to earlier version from within a macro?

- Mark


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
Format only part of a DataLabel in Excel 2007/PowerPoint 2007 char SamW Charts and Charting in Excel 6 August 16th 09 08:56 PM
Analysis Toolpack Issues in Excel 2007 (Office 2007 Enterprise) Ben Shields Excel Discussion (Misc queries) 2 February 24th 09 05:04 PM
Excel 2007 Query Wizard problem with Access 2007 extensions Showdad Excel Discussion (Misc queries) 0 December 4th 08 05:57 PM
Labels: Unable to import all records Excel 2007 to Word 2007 Mailm skelly Excel Discussion (Misc queries) 1 October 29th 08 11:22 PM
Paste EXCEL 2007 sheet into WORD 2007 - objects move around Martin L Excel Discussion (Misc queries) 5 February 29th 08 01:45 PM


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