Thread: Excel version
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
NickHK NickHK is offline
external usenet poster
 
Posts: 4,391
Default Excel version

Eric,
I have these 2 keys, as I have 2 versions of Office installed:

HKEY_CLASSES_ROOT\Excel.Application.9
HKEY_CLASSES_ROOT\Excel.Application.10

NickHK

"Eric" wrote in message
...
Hi Gary,

Anything that would work outside Excel?

Eric

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
Application.Version
will return 11 for 2003, 12 for 2007

environ variables i know of for your reference:

ALLUSERSPROFILE
APPDATA
CommonProgramFiles
COMPUTERNAME
ComSpec
FP_NO_HOST_CHECK
HOMEDRIVE
HOMEPATH
LOGONSERVER
NUMBER_OF_PROCESSORS
OS
Path
PATHEXT
PROCESSOR_ARCHITECTURE
PROCESSOR_IDENTIFIER
PROCESSOR_LEVEL
PROCESSOR_REVISION
ProgramFiles
SESSIONNAME
SystemDrive
SystemRoot
TEMP
TMP
USERDOMAIN
USERNAME
USERPROFILE
WecVersionForRosebud.828
windir


--


Gary


"Eric" wrote in message
...
Hello,

I am trying to identify what version of Excel is install on a system?

Is
there an environment variable or a Reg key that would give me this
information?

Thank you.

Eric