![]() |
![]() |
|
|||||||
| 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 |
|
Board Regular
Join Date: Apr 2002
Location: Alberta, Canada
Posts: 50
|
I have a macro to print certain ranges on a sheet, and it automatically prints the sheets when i run the macro. I now want to change the macro to enable me to select the printer that the macro uses. Essentially what i want is for the print dialogue box to come up when i run the macro. how do i do this?
|
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Apr 2002
Location: Manchester UK
Posts: 133
|
I have also had this trouble, and the only way I got my macro to print to the printer I wanted was to set the printer as the default printer, I know this isn't the answer, so if anyone else knows the answer could you email it to me jamienwood@hotmail.com
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Posts: 3,065
|
strangle this is correct..
also dual bis or manual feed is a mess in VBA eh! something excel cant to.. manual feed!
__________________
Free Excel based Web Toolbar available here. Jack in the UK J & R Excel Solutions "making Excel work for you" |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
Sub prtdlg() Application.Dialogs(xlDialogPrinterSetup).Show Application.Dialogs(xlDialogPrint).Show End Sub |
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Apr 2002
Location: Alberta, Canada
Posts: 50
|
Thanks
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|