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
What is the best GUI for MySQLfor Windows and why?
Sharepoint 2010 guides
DOS Batch Turnkey system for Win95
Simulate clicking into a textbox
Linking Combo Boxes
Pull report from Active Directory
How do i do PXE Boot using windows 2008 server and Deployment Workbench
MySQL data need to "replace" CRLF
Special Query in Oracle 10 sqlplus
Installing SSL cert on Exchange 2007