Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Multi window Excel

This works for both XP and Vista so far

create a notepad doc with the following content between the lines and save as excel.bat

______________________
@echo off

cls
echo Set File types to Allow Multiple Excel windows
echo Make sure Excel is closed before you continue

pause

reg export “HKCR\Excel.Sheet.8\shell\Open” “%~dp0\Excel8_Open.reg”
reg export “HKCR\Excel.Sheet.12\shell\Open” “%~dp0\Excel12_Open.reg”

reg delete “HKCR\Excel.Sheet.8\shell\Open\ddeexec”
reg delete “HKCR\Excel.Sheet.12\shell\Open\ddeexec”

reg import “%cd%\excel.reg”
________________________________________

then create another file in notepad called excel.reg with this content that is between the lines:

______________________________________

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\comman d]
@=”\”C:\\Program Files\\Microsoft Office\\Office12\\EXCEL.EXE\” /e \”%1\”"

[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\command]
@=”\”C:\\Program Files\\Microsoft Office\\Office12\\EXCEL.EXE\” /e \”%1\”"
______________________________

keep them in the same directory and run the excel.bat file. From vista you have to open “cmd” as administrator and run it from the command line

Enjoy,
Britt

EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
code to parse a multi-colum multi-select listbox Jade Excel Programming 1 September 16th 08 03:47 PM
The window opens in a smaller window not full sized window. Rachael Excel Discussion (Misc queries) 0 November 7th 06 09:04 PM
In Excel - how to delete new window created from window on tool ba Doug Excel Worksheet Functions 1 April 20th 06 09:22 PM
How do I undo the Excel, Window Menu, New Window command OLDFANG Excel Discussion (Misc queries) 2 March 17th 06 05:31 PM
how can I paste multi-line/multi-paragraph data into ONE cell? Theano Excel Discussion (Misc queries) 3 June 7th 05 01:10 PM


All times are GMT +1. The time now is 11:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"