vba compatibilty checker
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

VBA, Compatibilty checker

resolvedResolved · High Priority · Version 2007

replyReply Fri 22 Aug 2008, 13:51Delegate Alix said...

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.

For upcoming training course dates see: Pricing & availability

replyReply Fri 29 Aug 2008, 10:08Trainer Stephen said...

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

 

Please browse our web site to find out more about
excel-training-advanced courses and other Microsoft training courses.

Excel tip:

The Easiest Way to See a Sum or Average in Excel 2010

Did you know the quickest and most simple way of working out the average or sum of a set of numbers?

Highlight numbers in cells or type some numbers in cells and then look at the status bar at the bottom of the window. Here you will see a display of the average of the numbers, as well as a count of the cells and the sum of these cells.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard