PC Review


Reply
Thread Tools Rate Thread

How to conditionally determine Workbook save compatibility in VBA?

 
 
keeena
Guest
Posts: n/a
 
      18th Jul 2007
I'd like to know how to invoke compatibility checker via VBA, or
similar functionality.

I searched around the Object Browser and Microsoft Team Blog for an
answer, but didn't find anything at this point (http://blogs.msdn.com/
excel/default.aspx).

I would like to do is save all Workbooks in my scripts as 95-2003
format (.SaveAs FileFormat = xlExcel8) whenever possible. So I need a
way to programmatically determine if the Workbook can be properly
saved in this format. I'd basically like to invoke the Compatibility
Checker via VBA. Or, alternatively, are there ways to conditionally
check the compatibility of the Workbook prior to saving?

This is all assuming a newly created workbook which has not been saved
yet. I would rather not have to create my own checks for every
possible 2K7 difference (e.g. data in rows > 64k, etc...)

TIA

 
Reply With Quote
 
 
 
 
keeena
Guest
Posts: n/a
 
      19th Jul 2007
On Jul 18, 4:15 pm, keeena <kee...@hotmail.com> wrote:
> I'd like to know how to invoke compatibility checker via VBA, or
> similar functionality.
>
> I searched around the Object Browser and Microsoft Team Blog for an
> answer, but didn't find anything at this point (http://blogs.msdn.com/
> excel/default.aspx).
>
> I would like to do is save all Workbooks in my scripts as 95-2003
> format (.SaveAs FileFormat = xlExcel8) whenever possible. So I need a
> way to programmatically determine if the Workbook can be properly
> saved in this format. I'd basically like to invoke the Compatibility
> Checker via VBA. Or, alternatively, are there ways to conditionally
> check the compatibility of the Workbook prior to saving?
>
> This is all assuming a newly created workbook which has not been saved
> yet. I would rather not have to create my own checks for every
> possible 2K7 difference (e.g. data in rows > 64k, etc...)
>
> TIA


To clarify, I am using Excel 2007.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Test to determine if compatibility pack is installed? rick Microsoft Excel Programming 0 8th Sep 2009 11:58 PM
XL07 - How to conditionally determine Workbook file format compatibility in VBA? keeena Microsoft Excel Programming 5 21st Jul 2007 03:32 PM
Getting data for a workbook from another workbook conditionally =?Utf-8?B?Y29uZnVzZWQ=?= Microsoft Excel Programming 0 19th Apr 2006 06:59 PM
Select sheet tabs in workbook & save to separate workbook files =?Utf-8?B?c3RyYXRvY2FzdGVy?= Microsoft Excel Worksheet Functions 2 1st Mar 2006 03:35 PM
What commands do you use to name a workbook, save a workbook,open a workbook Steven R. Berke Microsoft Excel Programming 1 24th Jul 2003 11:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:02 PM.