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
Cisco VPN Client 5.0.07.0290 on Windows 7 64 bit
Converting example Outlook Redemption VBS to C#
How does the pointers of an inode's data block relattes to the logical block address of a SCSI device?
PHP array, problems with multiple checkboxes
Can't Add User in Active Directory
Can't obtain cell values from Selected Row of GridView programmatically
Exchange 2007 OWA causes 2 audit failures on failed login attempt
setup two NIC with same IP address for load balancing
PHP error reporting
Exchange Tabs not showing in Active Directory on new Domain Controller