vba compatibilty checker

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » VBA, Compatibilty checker

VBA, Compatibilty checker

resolvedResolved · High Priority · Version 2007

Alix has attended:
Excel VBA Intro Intermediate course

VBA, Compatibilty checker

Currently I am running VBA code that is saving the Active Workbook, however, in 2007, Microsoft put a Compatibility Checker in place. In normal mode, you can click on the check box to unselect "Check compatibility when saving this workbook", however, when looping through over 500 Excel files, my finger gets very tired to continue without checking compatibility. Is there code that will automatically by pass or save without check the compatibility? Thanks.

RE: VBA, Compatibilty checker

Hi Alix

Thank you for your question.

The following line of code can be placed before the save command and should disable the compayibility checker

BookVar.CheckCompatibility = False


Where bookvar is the name of the workbook.

Hopefull this will solve the problem for you. If problems persist, please do not hesitate to get back to me.

Regards

Stephen

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Create a unique items table from a duplicating table

1. Ensure that your list has column headings
2. Select the entire list
3. From the menu bar, select DATA, FILTER, ADVANCED FILTER
4. Select "Filter the list, in place", and tick the "Unique Records Only" box
5. Click OK, filtered list appears.

View all Excel hints and tips


Server loaded in 0.08 secs.