Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking for a version of Office 1

Status
Not open for further replies.

cal555

Programmer
May 5, 2006
71
0
0
US
Hi, I need away to find out, in an app that I am developing what version of Office(not the Opporating system) the user is runing. Is there an API or something I can do to test or evaluate the user Office the user is running. For example, some of my users are using Word97 and some are using Word 2003.
Thank You
 
Try,
Private Sub Command1_Click()

Dim objxl As Object

Set objxl = CreateObject("Excel.Application")

MsgBox "Excel version " & objxl.version

Set objxl = Nothing

End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top