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
bulk collect - amount of return
Need a driver for sm bus controller on Dell d620
Initialization failed for opening on premisis exchange server
[AutoIT] Creating a Control that Looks Like a Spreadsheet
HOW TO: remove the Anonymous User from the Everyone Group....
Multi Homed Windows 2008 Server
OCS 2007 R2 and Cisco call manager
HTTP Error 404.3 on IIS 7.0
PPT Taskkill Command VBS MsgBox
how to re-assign a class member in c++ (override its value by pointer)