Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excel 2003 File Type issues when Compatibility Pack installed

Posted on 2011-02-17
4
Medium Priority
?
454 Views
Last Modified: 2012-05-11
Our company uses Excel 2003 with the compatibility pack since it came out.  In the last year or so, we seem to be fighting an issue on certain computers opening .xlsx files from Outlook attachments or Windows Explorer.  When looking at the xlsx file type 'Open' properties, the filepath reads
"C:\PROGRA~1\MICROS~2\Office11\EXCEL.EXE" /e
instead of
"C:\Program Files\Microsoft Office\Office12\EXCEL.EXE" /e
What is up with the DOS filepath syntax?
This DOS filepath syntax causes problems with MacroButtons within Excel.  We use a macro file with a custom toolbar loading from the 'XLSTART'.  When is Excel is started up by itself, the macro file references it's normal Windows Filepath, but when Excel is started by opening a XLSX attachment the macro file opens referencing the DOS filepath sytax, which causes the MacroButtons to have bad filepath (the toolbar is remains active from the previous session).  

We have tried manually changing the xlsx File Type Open properties back to '"C:\Program Files\Microsoft Office\Office11\EXCEL.EXE" /e', but this change will not stick (property still displays the DOS filepath the next time the Open property is edited the next time.   We unsuccessfully have tried  Start-Run:  Excel /unregserver & then Start-Run:  Excel /regserver;  reinstalling the Compatibility Pack.

Is there a way to force the File Type filepaths to use the Windows filepath syntax instead of the DOS filepath syntax that the Office Compatibility Pack seems to force them to?
This is somewhat related to Q_26755895.  
0
Comment
Question by:Jeff Geiselman
  • 3
4 Comments
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34919697
Have you tried changing the path in the registry instead of from Control Panel?
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 1000 total points
ID: 34919732
Look here
\HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\command
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34919741
If you don't see Excel.Sheet.12 then check the default value in HKEY_CLASSES_ROOT\.xlsx to see what your computer is calling it.
0
 
LVL 1

Author Comment

by:Jeff Geiselman
ID: 34925946
Thanks for the Registry suggestion and registry location.  I will try that on a few of the computers that are exhibit the problem and let you know how it works.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
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 will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

971 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