Computing.Net > Forums > Office Software > excel vba

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

excel vba

Reply to Message Icon

Name: skidoomad
Date: May 3, 2005 at 10:08:11 Pacific
OS: 2000pro
CPU/Ram: 512
Comment:

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




Sponsored Link
Ads by Google

Response Number 1
Name: Niko9999
Date: May 4, 2005 at 23:09:53 Pacific
Reply:

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/


0
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: excel vba

Excel VBA www.computing.net/answers/office/excel-vba/2560.html

Excel VBA and Access communication www.computing.net/answers/office/excel-vba-and-access-communication-/4755.html

COM & LPT Communication - Excel VBA www.computing.net/answers/office/com-amp-lpt-communication-excel-vba/3875.html