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
Javascript form validation problems
Limiting User Access
Project Server 2010 won't install
Move Sharepoint 2010 DB's from one server to another
Freeware Firewall software
Using System.Type in switch()
Exchange 2010 replication over a WAN with high latency
C# How to remove <STX> and <ETX> characters from file
ClearOS Enterprise 5.2 Alpha 1
activex script in dts to see if records are in table