Jul 7, 2005 #1 mca2k4 Programmer Jul 6, 2005 16 GB Hi, I'm trying to create a command button to directly open up an existing Word document; is there any way to do this with VBCode? Thanks.
Hi, I'm trying to create a command button to directly open up an existing Word document; is there any way to do this with VBCode? Thanks.
Jul 7, 2005 1 #2 PHV MIS Nov 8, 2002 53,708 FR You may consider the FollowHyperlink method, the GetObject function, the WshShell.Run method, the Shell function, .... Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
You may consider the FollowHyperlink method, the GetObject function, the WshShell.Run method, the Shell function, .... Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Jul 7, 2005 #3 earthandfire Programmer Mar 14, 2005 2,924 GB Do you need to know when the user has closed Word? Upvote 0 Downvote
Jul 7, 2005 #5 earthandfire Programmer Mar 14, 2005 2,924 GB In which case PHV's suggestions will do what you need. Upvote 0 Downvote
Jul 8, 2005 Thread starter #6 mca2k4 Programmer Jul 6, 2005 16 GB Is there a way to perform the described function without using the VB commands PHV listed (such as through macros or otherwise)? Upvote 0 Downvote
Is there a way to perform the described function without using the VB commands PHV listed (such as through macros or otherwise)?
Jul 8, 2005 #7 axism MIS May 17, 2005 58 if its just a word document u trying to open, i sugguest u try hyperlink. something like: Application.FollowHyperlink "filename", , True Upvote 0 Downvote
if its just a word document u trying to open, i sugguest u try hyperlink. something like: Application.FollowHyperlink "filename", , True