Opening A Word Document

  • Thread starter Thread starter mainman
  • Start date Start date
M

mainman

Guest
HI

Can someone help me please?

I need someone to talk me through the steps of creating a button on a form and once pressed it opens up a word document?

without using code

Hope someone can write me down the steps.

many thanks
 
it depends -if you just want Word to open up and thats all -
use the button wizard -
add a new button and one of the options is application select word and done

if its a set word doc lets say sample.doc then use hyper link use the help option (I've copied this below) - this works great used it plenty of times

hope this helps


Assign a hyperlink to a toolbar button or menu command
When you assign a hyperlink to a toolbar button or menu command, the hyperlink replaces the command currently assigned to that button or menu command. You cannot assign a hyperlink to a button that displays a list or menu when the button is clicked.

Display the toolbar you want to change.


If the button you want to assign a hyperlink to is not on a toolbar, add a button to the toolbar.
If the menu command you want to assign a hyperlink to is not on a menu, add the command to a menu.

On the Tools menu, click Customize.


Right-click the toolbar button, point to Assign Hyperlink on the shortcut menu, and then click Open.


Under Link to, click the source you want to link to.


Select the options you want.
For Help on an option, click the question mark and then click the option.
 
mainman said:
without using code
What's wrong with using VBA? If you want any easy fix then use the FollowHyperlink Method

Application.FollowHyperlink "C:\Test\MyDoc.doc", , True

Searching the forum is a great way to discover and learn the answers to your Access programming questions.
 
G - what about your browse example? I use the dOpenfile module from that example. Works great.

Bones
 
bonekrusher said:
G - what about your browse example? I use the dOpenfile module from that example. Works great.

Bones
Thanks and I agree but I did not think that mainman could handle something that advanced since he is posting in the macros section of the forum.
 

Users who are viewing this thread

Back
Top Bottom