Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

vba compatibilty checker

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

VBA, Compatibilty checker

ResolvedVersion 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:

View a unique list

You have a column with hundreds of entries, and you need to see what unique items are entered in it. Select any cell in that column, hold down Alt and press the down arrow: Excel produces an alphabetically-sorted list of unique entries in that column.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.