Jul 7, 2005 #1 mca2k4 Programmer Joined Jul 6, 2005 Messages 16 Location 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 Joined Nov 8, 2002 Messages 53,708 Location 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 Joined Mar 14, 2005 Messages 2,924 Location GB Do you need to know when the user has closed Word? Upvote 0 Downvote
Jul 7, 2005 Thread starter #4 mca2k4 Programmer Joined Jul 6, 2005 Messages 16 Location GB No Upvote 0 Downvote
Jul 7, 2005 #5 earthandfire Programmer Joined Mar 14, 2005 Messages 2,924 Location GB In which case PHV's suggestions will do what you need. Upvote 0 Downvote
Jul 8, 2005 Thread starter #6 mca2k4 Programmer Joined Jul 6, 2005 Messages 16 Location 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 Joined May 17, 2005 Messages 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