Opening an already existant Word document with an Excel Macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I need to open a specific Word document while running an Excel macro. Up
until now, I've been able to open a new document in Word :

Application.ActivateMicrosoftApp xlMicrosoftWord


Any ideas on how to accomplish that?
Thanks!
 
Dim oWord as Object
Dim oDoc as Object

Set oWord = CreateObject("Word.Application")
oWord.Visible = True

Set oDoc = oWord.Documents.Open("C:\personal\bob\personal\CV - RP
(short).doc")


--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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

Back
Top