Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show printer dialog box 1

Status
Not open for further replies.

diembi

Programmer
Sep 22, 2001
238
ES
Hello,
How I can invoke to printer dialog box from a word macro using VBA?
I need enable to user to select a printer before printout.
Somebody have implemented code to do this?

Thanks for all and regards.

Dani.
 
Code:
Dim oDlg As Dialog

Set oDlg = Dialogs(wdDialogFilePrint)
With oDlg
    .Show

End With
Set oDlg = Nothing
 
Thanks JustinEzequiel,
My need is resolved.

Regards.

 
danielmontejo,

Psssssssssst. ...In checking your "profile", I noticed you haven't yet recognized any postings as "helpful" by awarding a "STAR".

This is likely because you simply haven't been aware of this Tek-Tips method of "showing appreciation" for the time taken by others in helping to resolve problems.

The stars also serve two other purposes: 1) to let other would-be contributors know that a useful resolution has been posted, and 2) it serves as a "beacon" to Tek-Tips "browsers" who are always searching for solutions to the same or similar problems.

To assign a STAR, you only have to go to the bottom-left-corner of the contributor's posting, and click on the "click here to mark this post as a helpful or expert post!"

Regards, ...Dale Watson dwatson@bsi.gov.mb.ca

P.S. PLEASE do NOT give me a STAR for my posting. I want to "earn" them the "normal" way. Thanks.

 
danielmontejo,

I see you're logged in today, so I'm repeating the message from January 11th...

Psssssssssst. ...In checking your "profile", I noticed you haven't yet recognized any postings as "helpful" by awarding a "STAR".

This is likely because you simply haven't been aware of this Tek-Tips method of "showing appreciation" for the time taken by others in helping to resolve problems.

The stars also serve two other purposes: 1) to let other would-be contributors know that a useful resolution has been posted, and 2) it serves as a "beacon" to Tek-Tips "browsers" who are always searching for solutions to the same or similar problems.

To assign a STAR, you only have to go to the bottom-left-corner of the contributor's posting, and click on the "click here to mark this post as a helpful or expert post!"

Regards, ...Dale Watson dwatson@bsi.gov.mb.ca

P.S. PLEASE do NOT give me a STAR for my posting. I want to "earn" them the "normal" way. Thanks.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top