Microsoft
Software
Hardware
Network
Question : Excel 2010 Check Compatibilty / Workbook_BeforeClose - VBA
How can I suppress CheckCompatibility through VBA? This appears to work.
Dim Wb As Workbook
Set Wb = ThisWorkbook
Wb.CheckCompatibility = False
... but then the workbook will not close without prompting the Save Y/N.
Tried this in Sub Workbook_BeforeClose also ...
ThisWorkbook.Save
The Save Y/N still comes up.
The 2 issues may be unrelated
Thanks for any help.
Answer : Excel 2010 Check Compatibilty / Workbook_BeforeClose - VBA
Try:-
Me.Saved = True
At the end of your code. This should 'fool' excel into thinking the file has already been saved.
HTH
Matt
Random Solutions
How do i create a SCOM 2007 SP1 cluster?
Cropping Photos Without Changing The Aspect Ratio in Fireworks 8
USB webcam 50-feet from computer
web forms: xForms or javascript forms: which one is the best?
Content disappearing after I hit a link?
Cisco CallManager CRD Analysis and Reporting
Microsoft Word and outlook formatting problems
Joomla Module
delphi Run once
2 ways in ASP.NET to open a different page?