Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2006

Tip: Looking for answers? Try searching our database.

Application.version numbers for Word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gary Hillerson - 03 Dec 2006 20:19 GMT
I'm trying to branch some code based on Aplication.Version numbers;  I
know that 2007 is version 12, and Word 2003 , but I don't know the
other version numbers, and haven't been able to find them. Can someone
help?

Specifically, I need to differentiate Office 2007 versus Office 2000
or 2003, versus earlier versions. I'm guessing I can use this code:

Dim versStr as String
Select Case CInt(Application.Version)
    Case >=12:  versStr =  "Word 2007"
    Case 11:       versStr = "Word 2003"
    Case 10:       versStr = "Word 2000"
       Case Else:   versStr = "Word 97 or earlier"
End Select

Can anyone verify these numbers for me??

thanks
   gary
Steve Yandl - 03 Dec 2006 20:34 GMT
Gary,

I think it's:
Version 7.0    Office 95
Version 8.0    Office 97
Version 9.0    Office 2000
Version 10.0    Office XP
Version 11.0    Office 2003
Version 12.0    Office 2007

Steve

> I'm trying to branch some code based on Aplication.Version numbers;  I
> know that 2007 is version 12, and Word 2003 , but I don't know the
[quoted text clipped - 16 lines]
> thanks
>    gary
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.