Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hi i am havin a problem opening ams word document using a macro in excel this is the code i am using but it only opens word and dosent open the document please help
Application.ActivateMicrosoftApp (xlMicrosoftWord)
Documents.Open Filename:="""letter.doc""", _
ConfirmConversions:=False, ReadOnly:=False, AddToRecentFiles:=False, _
PasswordDocument:="", PasswordTemplate:="", Revert:=False, _
WritePasswordDocument:="", WritePasswordTemplate:="", Format:= _
wdOpenFormatAuto

Hi kam,
I'm sorry. I tried but, could not get the correct result.
I always log my threads on another form. Normally, I get quick response & solutions thers.
Here is the link
http://www.vbaexpress.com/forum/

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |