![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 2
|
Howdy
userform.print uses the default printer. I'd like to be able to choose a different printer. What do I need to add so that the userform prints on a printer that I choose and not the default printer ? Path ? node name of the printer ? Thanks for the help |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Perth Australia
Posts: 1,567
|
Hi Kasack
Try recording a macro to print the sheet. Go to File, Print and change the name of the printer in the dropdown box to the one you want. Stop recording, then use Alt+F11 to go to the VB Editor and check the code it used. Hope this helps regards Derek |
|
|
|
|
|
#3 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
How about
Application.Dialogs(xlDialogPrinterSetup).Show |
|
|
|
|
|
#4 | |
|
New Member
Join Date: Apr 2002
Posts: 2
|
Quote:
how can I now command to print on a chosen printer ? I choose printer 5 , ok, = print but that method isn't working thanks anyhow |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|