twickey
asked on
How to I identify the current Office application as 2000, 2003, 2007, etc from Com Addin?
I am building a com addin for office, word specifically right now. I need to know which version of word the host machine is running as word 2007 has a ribbon and does not support regular toolbars. Identifying the version will allow me to load the appropriate toolbars. The object I am dealing with is of type "Microsoft.Office.Interop. Word.Appli cationClas s" for word. It does change for other office products but I am mainly interested in Word right now.
MsgBox(applicationObject.v ersion) will return the version number of the office release.
MsgBox(applicationObject.v
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
No objection to close.
Thank you.
ASKER
Thanks