Link to home
Start Free TrialLog in
Avatar of camtz
camtzFlag for United States of America

asked on

Path to Word executable file

Hi, I would like to know the exact path to the executable for Microsoft Word in Windows 7 Professional. Thanks
Avatar of John-Charles-Herzberg
John-Charles-Herzberg
Flag of United States of America image

Microsoft Office Word 2010
C:\Program Files\Microsoft Office\Office14

Microsoft Office Word 2007
C:\Program Files\Microsoft Office\Office12

Microsoft Office Word 2003
C:\Program Files\Microsoft Office\Office11

Microsoft Word 2002
C:\Program Files\Microsoft Office\Office10

Microsoft Word 2000
C:\Program Files\Microsoft Office\Office

Thanks
JC
first comment is good, since you did not give version of office.
If you have 64-bit windows 7 and most office is 32-bit, it may be C:\program files (x86)
Avatar of camtz

ASKER

Maybe I didn't make myself clear.  I have Windows 7 Pro and I am looking for the executable file THAT WILL OPEN a new Word document.  I am creating a script and I need the path to put in the program.
Avatar of GrahamSkan
If the previous comments don't help, then it isn't clear what your context is.
If you're already in a programmatic environment, then something like:
Set doc = objWordApp.Documents.Open("C;\MyFolder\MyDoc.Docx") 

Open in new window

should work
Avatar of camtz

ASKER

I am using AutoHot Keys and usually, I will use something like:

;This is to open SONAR
^b::
Run, %userprofile%\AppData\Roaming\Cakewalk\SONAR X3 Studio
Return

This will open a program called Sonar.  I want to be able to open a new Word document by using a combination of hot keys as shown above.
ASKER CERTIFIED SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of camtz

ASKER

Sorry about that, I am using OS 7 Pro and Microsoft Office Word 2007
Avatar of camtz

ASKER

This is a better example of what I am trying to do:


;This is to open Microsoft Outlook
^e::
Run, C:\Program Files (x86)\Microsoft Office\Office14\Outlook.exe
Return

The ctrl key plus the e key opens up Microsoft Outlook
Avatar of camtz

ASKER

I found it. Thank you anyway