How to add a button and configure the click event

J

Julie Jones

Hello, I am a true beginner. I have added a button to a
word document, but would like some sample code that shows
me how to open/call another file on click event. Similar
to using a hyperlink, but with a button. Please email me
with that information. Thank you in advance for your
time. Julie
 
C

Cindy Meister -WordMVP-

Hi Julie,
I have added a button to a
word document, but would like some sample code that shows
me how to open/call another file on click event. Similar
to using a hyperlink, but with a button.
Documents.Open "Type the document path and name here"

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jan
24 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:)
 
G

Geoff

Cindy,
How can this code be used to email the open document as an
attachment. Like submitting a survey after it has been
completed.
Thanks Geoff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top