camtz
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
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)
If you have 64-bit windows 7 and most office is 32-bit, it may be C:\program files (x86)
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.
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:
If you're already in a programmatic environment, then something like:
Set doc = objWordApp.Documents.Open("C;\MyFolder\MyDoc.Docx")
should work
ASKER
I am using AutoHot Keys and usually, I will use something like:
;This is to open SONAR
^b::
Run, %userprofile%\AppData\Roam ing\Cakewa lk\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.
;This is to open SONAR
^b::
Run, %userprofile%\AppData\Roam
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry about that, I am using OS 7 Pro and Microsoft Office Word 2007
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.ex e
Return
The ctrl key plus the e key opens up Microsoft Outlook
;This is to open Microsoft Outlook
^e::
Run, C:\Program Files (x86)\Microsoft Office\Office14\Outlook.ex
Return
The ctrl key plus the e key opens up Microsoft Outlook
ASKER
I found it. Thank you anyway
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