open word document

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

Guest

i need to open microsoft word, open a .doc file, paste some info from excel,
then close word again with VBA.

i've been able to get word open, just not a specific document.

Any ideas?

kari
 
I am working on something like this also.
I have this so far to open I just cant save it yet

Sub ttt()
Dim wdapp As Object
WBPath = ThisWorkbook.Path
WBPathPlus = WBPath & "\Starting Files\Bidding information.doc"
Set wdapp = CreateObject("Word.Application")
With wdapp
.Documents.Open Filename:=WBPathPlus
.Visible = True
End With
Set wdapp = Nothing
End Su
 

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