View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Peter T Peter T is offline
external usenet poster
 
Posts: 5,600
Default How to Reregister a given Excel version

No doubt in theory it's possible to register via the registry, but would
probably need to unregister Excel 2003 first, Then a lot of work. From the
command line you could do

"C:\pathToXL2007\excel.exe" /regserver

or similar with Shell (note you'll probably need double quotes around the
path)

I very much doubt you'll want to do this on each login time, at most if/as
necessary which should be only very rarely (you can get the CurVer from the
registry).

Regards,
Peter T


"Desaivres Alain" wrote in
message ...
Hi

SITUATION... Two Excel version 11.0 and 12.0 are installed on a subset of
machines... Depending on the last update made, one or the other is
declared
as the default Excel to be launch...

This can be seen in the following registry key...
HKEY_CLASSES_ROOT\Excel.Application\CurVer that can equal
to Excel.Application.12
or to Excel.Application.11

Manifestly, only a reregistration of a given excel version can reestablish
an expected situation such as havin version 12.0 being the default one...

QUESTION...
How can I run a "LIGHT" Reregistration of Excel 12.0 through a script
launched at login time ? and this without being forced to run an Office
reparation...
Is this possible through some registry key manipulations ?

Thanks for your help
Regards
Alain