Where is a reliable registry key to find install location of Excel 2007?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With