> Here I am back with another question.
>
[quoted text clipped - 23 lines]
> documents\travelagent.doc")
> End Sub
Hi Bernie . . .
Have both codes working. I had to change . . . Dim oWordDoc As Word.Document
to Dim oWordDoc As Object on second code (Sub NewWordWithDocument2()
Thanks very very much.
Bernie . . . If you are 30 or over, please read my story in
www.openoursite.com
Select: "Keywords" Then, Select: "Matt's Story" It can save your
life. My near perfect 1961 Red Chrysler 300 is on the front page of the site.
Again, many thanks. I'm doing my best for a 74 year old to learn, and it's
coming.
Matt @ Launchnet
>Sub NewWordOnly2()
>Dim oWordApp As Object
[quoted text clipped - 22 lines]
>> documents\travelagent.doc")
>> End Sub

Signature
Please take a look at www.openoursite.com Click on: "Keywords" and then
Click on "Matt's Story" and if you are a man, you should be very happy that
you read my story. God Bless for everyones help.
Bernie Deitrick - 18 Jun 2007 18:20 GMT
Matt,
If you set a reference to MS Word, then the dimming of oWordDoc would work... I forgot to state
that, just assuming that you would have it already...
HTH,
Bernie
MS Excel MVP
> Hi Bernie . . .
> Have both codes working. I had to change . . . Dim oWordDoc As Word.Document
[quoted text clipped - 37 lines]
>>> documents\travelagent.doc")
>>> End Sub