How to determine which version of Word is installed?

M

Muhammed Inam

As already known, saving a document as pure html is only possible with Word
2003. So, how can I determine which version of Word is installed to give
users different options based on the version of Word they have?

Thanks,

Muhammed Inam
Cologne Data GmbH
 
J

Jonathan West

Muhammed Inam said:
As already known, saving a document as pure html is only possible with Word
2003. So, how can I determine which version of Word is installed to give
users different options based on the version of Word they have?


Application.Version returns the version number

8.0 - Word 97
9.0 - Word 2000
10.0 - Word 2002
11.0 - Word 2003

Make sure you test your code using the oldest version of Word that you
intend supporting, to make sure that you aren't accidentally using objects
or properties that aren't available on that version of Word.
 
P

Pete Bennett

As an extension to this

Application.Build

will give you the build number of the application installed so that you can
write code that makes sure that Word has been patched up to a specific level
(9.0.3822 is Office 2000 SR-1). You'll need to refer to the Microsoft
knowledge base to find out what the versions are for any service pack/patch
that you're interested in.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top