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
Keep geting lots of "The system failed to flush data to the transaction log. Corruption may occur" errors in Windows 7 Pro
Compatible Error in Excel 2003
Using Group Policy to set Proxy Settings in the office; turn it off outside the office
Setting Compatibility Mode in IE8 using JavaScript
Exchange 2007 / 2010 OWA Tweaking
trouble with user clicking before content loads ASP and Javascript
ProLiant DL380 G5 RAID Drive replacement procedure
Import-Module ServerManager
SNMP polling
SSG VPN dailup setup (Shrew VPN Client) , hitting a brick wall.