Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2005

Tip: Looking for answers? Try searching our database.

How do I add a button to a document that causes several documents.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
clubvw - 22 Mar 2005 03:24 GMT
How can I add a button to a document that causes several microsoft word
documents to print when the button is clicked? Is this even possible?
Graham Mayor - 22 Mar 2005 08:31 GMT
By what criteria are the documents to print chosen?

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> How can I add a button to a document that causes several microsoft
> word documents to print when the button is clicked? Is this even
> possible?
Chuck - 22 Mar 2005 18:07 GMT
If you want to add a button to a form, open the Control Toolbox toolbar (View
> Toolbars > Control Toolbox) and choose the Button control, then draw it on
your document.

If you want to add code to the button, double click on the button and the
VBE will open.

The code is up to you.  For instance to print documents doc1.doc and
doc2.doc the code would be:

Application.PrintOut FileName:="c:\temp\doc1.doc"
Application.PrintOut FileName:="c:\temp\doc2.doc"

Obviously you can get a lot fancier in terms of what to print where but that
should get you started...

> How can I add a button to a document that causes several microsoft word
> documents to print when the button is clicked? Is this even possible?
Clubvwbeetle - 22 Mar 2005 22:37 GMT
Excellent! Thanks Chuck. Clubvw. :-)

> If you want to add a button to a form, open the Control Toolbox toolbar (View
> > Toolbars > Control Toolbox) and choose the Button control, then draw it on
[quoted text clipped - 14 lines]
> > How can I add a button to a document that causes several microsoft word
> > documents to print when the button is clicked? Is this even possible?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.