Solved

Prompt for incompatibility when saving 'xls" to 'xlsx'  - Excel 2003 to Excel 2010

Posted on 2014-04-21
1
378 Views
Last Modified: 2016-02-13
Experts,

Ian creating spreadsheets in SAS which is still creating the spreadsheets as xls.  I have Excel 2010 on my machine now.  

I have a macro which is formatting the spreadsheets.  Each time it saves I get the "incompatible message" attached.  Is there someway to code in VB so the process keeps going without manual response or to eliminate the message?
0
Comment
Question by:morinia
1 Comment
 
LVL 18

Accepted Solution

by:
Raheman M. Abdul earned 350 total points
ID: 40012593
use the following line in your VB code to tick off the compatibility checking during saving

ActiveWorkbook.CheckCompatibility = False
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now