Programmatically detecting an MS Word version installed on a PC

N

Nam

How can detect MS Word version installed on a PC using Visual Basic code?
I'd like find out if it is version '97, 2000, 2002, 2003 or 2007

Thanks.
 
N

Nam

Macropod,

Thank you so much for your help. This is exalty what I needed.

Nam

macropod said:
Hi Nam,

How about:

Sub GetVersion()
MsgBox Application.Version
End Sub

--
Cheers
macropod
[MVP - Microsoft Word]


Nam said:
How can detect MS Word version installed on a PC using Visual Basic code?
I'd like find out if it is version '97, 2000, 2002, 2003 or 2007

Thanks.
 
T

Tony Toews [MVP]

Nam said:
How can detect MS Word version installed on a PC using Visual Basic code?
I'd like find out if it is version '97, 2000, 2002, 2003 or 2007

Are you looking for the current version or all installed versions?
There's a difference there? If the current version you've got the
answer. If installed versions then you need to look in the registry.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 

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