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 / August 2006

Tip: Looking for answers? Try searching our database.

"Enter" or "Ok" button execution from dialog box in macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
timc - 14 Aug 2006 21:36 GMT
i am using the Dialogs(wdDialogFilePrint) command in a macro to undisplay
(??) the printer dialogue box that keeps popping up in a macro. what is the
sytax for pressing the enter key. i tried execute but the dialogue box still
appears.
Jonathan West - 14 Aug 2006 21:43 GMT
>i am using the Dialogs(wdDialogFilePrint) command in a macro to undisplay
> (??) the printer dialogue box that keeps popping up in a macro. what is
> the
> sytax for pressing the enter key. i tried execute but the dialogue box
> still
> appears.

If you want to print a document without displaying the dialog, use the
PrintOut method.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org

 
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.