B
Benji
can anyone help me with this one. I want to open word without having to open
it manually as I am calling a filesaveas dialog for word.
Thanks
I currently have
Set wrd = GetObject(, "Word.Application")
wrd.Visible = True
wrd.Documents.Open "C:\My Documents\Temp.doc"
Set wrd = Nothing
but I am getting an error if word is not open
run-time error '429'
ActiveX component cant create object
and if it is open it will open it and present it but it gives me a vba error
run-time error 462
The remote server machine does not exist or is unavailable
it manually as I am calling a filesaveas dialog for word.
Thanks
I currently have
Set wrd = GetObject(, "Word.Application")
wrd.Visible = True
wrd.Documents.Open "C:\My Documents\Temp.doc"
Set wrd = Nothing
but I am getting an error if word is not open
run-time error '429'
ActiveX component cant create object
and if it is open it will open it and present it but it gives me a vba error
run-time error 462
The remote server machine does not exist or is unavailable