Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is a reliable registry key to find install location of Excel 2007?

Where is a reliable registry key to find install location of Excel 2007?

like image 471
Jason Avatar asked Dec 07 '22 08:12

Jason


1 Answers

How about:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\X.0\Common\InstallRoot]

which contains a key named 'Path' with the installation directory of that version of Office. This is consistent for Excel 8.0 through 12.0. If you want to look for a specific product, use Excel, Word, Access, etc., in place of Common.

  • Jon ------- Jon Peltier, Microsoft Excel MVP

From: http://www.developersdex.com/vb/message.asp?p=2677&r=6199020

like image 52
Fionnuala Avatar answered Dec 16 '22 06:12

Fionnuala