Programmatically finding 2007 Excel and other Office GUIDs

  • Thread starter Thread starter Ted
  • Start date Start date
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.
 
Back
Top