You can see one of the following registry keys:
HKEY_USERS\.DEFAULT\Software\Microsoft\Office\11.0\Excel HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel
You should look for the key with "Excel" in it, since you can have Office 2003 installed, and visio 2007 aside, so both keys will exist, but only one will have an Excel subkey:
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0 HKEY_CURRENT_USER\Software\Microsoft\Office\12.0
Matching numbers / versions
- Office 9: Office 2000
- Office 10: Office XP (first version to support XML worksheets)
- Office 11: Office 2003
- Office 12: Office 2007
- Office 14: Office 2010 (fun fact, 13 was skipped)
source share