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
Any ideas how to create your own loadbalancer using linux?
sendAndLoad onHTTPStatus issue
Trying to connect SSIS packages to Oracle database
Internet Explorer - Links redirecting to strange sites
This search script is presenting the option for Next 10 when there aren't any results. What do I need to add to not show when there aren't results?
Column border style problem
well vs borewell
Having problems getting my VOIP setup working?
error when calling php/xml file in browser
How can I run my PC in safe mode?