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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to choose a printer and send a file to this printer?

Status
Not open for further replies.

Paco75

Programmer
Oct 11, 2001
239
US
Hi,

I need to get a dialog box to choose a printer then after the printer has been selected send a file to the choosen printer.

waiting for your replies :) ... thanks
 
Application.Dialogs(wdDialogFilePrintSetup).Show

Asjeff
 
I forgot to specify Im in excel... It look like wdDialogFilePrintSetup is not valid in excel. Where can I get a list of the dialog we can use? It could be useful later!

thanks
 
Get the list by searching for help, within VBA, on
"built-in dialogs"
Rob
[flowerface]
 
Application.Dialogs(xlDialogPrinterSetup).Show

Asjeff
 
It works but only with excel sheets. Can I send another file like a PDF file?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top