Programmatically finding 2007 Excel and other Office GUIDs

G

Gary''s Student

Perhaps:

Sub dural()
On Error GoTo notthere
ChDir "C:\Program Files\Microsoft Office\Office12"
MsgBox ("2007")
Exit Sub
notthere:
MsgBox ("Not 2007")
End Sub

If the Office 12 folder is missing, then components of Office 2007 are
normally not installed.
 

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