Excel 2003 spreadsheets not opening in Excel 2007

Posted on 2009-12-30
Last Modified: 2013-11-27
I have a number of excel spreadsheets that were created in Excel 2003.
They contain queries relating back to my application SQL database. The queries work fine in Excel 2003 and I dont have a problem there.
The problem is when I try to open the file in Excel 2007 it crashes while opening with the "Excel has encountered a problem...." error.
If I copy the SQL from the 2003 query, open a new query in 2007 and copy and paste the data it works fine and refreshes without a problem, but I dont really want to do this for all my queries that I have for this database!
The SQL for the query is like the below, minor adjustments for each query just relating to the table it is looking at. I have tried unticking all the tick boxes in 2003 relating to the query properties. I am at my wits end as I know there isnt any problem with the query but there is something 2007 doesnt like :(

SELECT dhc_contractrenewals.BoatName, dhc_contractrenewals.StartDate, dhc_contractrenewals.EndDate, dhc_contractrenewals.FeeType, dhc_contractrenewals.FeeCode, dhc_contractrenewals.Confirmed, dhc_contractrenewals.Declined, dhc_contractrenewals.Custname, dhc_contractrenewals.ContractNo, dhc_contractrenewals.Tel_Home, dhc_contractrenewals.Tel_Mobile, dhc_contractrenewals.Tel_Business, dhc_contractrenewals.e_Mail, dhc_contractrenewals.Renewal
FROM CH_Live_M3.dbo.dhc_contractrenewals dhc_contractrenewals
WHERE (dhc_contractrenewals.StartDate={ts '2009-12-01 00:00:00'}) AND (dhc_contractrenewals.Renewal>1) AND (dhc_contractrenewals.FeeCode In ('12monthly 09/10','Loyalty 09/10','SBO 09/10','SBOloyalty09/10'))
Question by:merronm
    1 Comment
    LVL 38

    Accepted Solution

    If you have not updated to Office Suite Service Release 2 you should do so.   I seem to recall that there were a number of bug fixes to Access and Excel in the update.....but  the update should be installed irregardless of whether or not it fixes your specific problem.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
    Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
    The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
    This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

    737 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

    18 Experts available now in Live!

    Get 1:1 Help Now