Suggestion: Creating Excel workbook for current version

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Maximus
Member
Member
Posts: 147
Joined: 2006-04-12, 10:51 UTC
Location: Ukraine
Contact:

Suggestion: Creating Excel workbook for current version

Post by *Maximus »

Mr. Christian Ghisler

Now when I create Excel workbook with Context menu->New->(...).xls I get workbook 5.0/95
I have MS Office 2003 installed and I want to get workbook for current Excel version.
I fond this thread
ghisler(Author) wrote:TC should take the excel sheet from the templates directory. Unfortunately it's not documented where Explorer looks for the template files, so there seem to be multiple possibilities.
I think you can make creating workbook for current Excel version in the next way (Samples in code tags for Office 2003):
1. Define current version sheet - default key value in HKEY_CLASSES_ROOT\.xls:

Code: Select all

[HKEY_CLASSES_ROOT\.xls]
@="Excel.Sheet.8"
2. Look in the Excel.Sheet.X\ShellNew:

Code: Select all

[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.8\ShellNew]
"FileName"="excel9.xls"
3. And finally run file WINDOWS\SHELLNEW\EXCELX.xls:

Code: Select all

d:\WINDOWS\SHELLNEW\EXCEL9.XLS 
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50889
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, I will check whether that helps.
Author of Total Commander
https://www.ghisler.com
Post Reply