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
Special Query in Oracle 10 sqlplus
VB script to uninstall with admin rights.
securing a ksh script
SSL Weak Cipher Suites Supported
PHP - session variables lost between subfolders
Error Creating Web Site: Exception from HRESULT: 0x800710D8
Remotely verify router is providing wireless Internet
asp.net: How to bind Images to a ListView from a Database - I have a special need! the Image have already be downloaded
In vb.net 2008 I need to evluate two columns in ms access to determine if a duplicate field exists
How to Open a Console Session (xterm)