Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The code below is suppose to print a worksheet, but my problem is that it
prints to a specific network printer and that printer is not always assigned to Ne09. The number is not always assigned to that printer. I have seen it be anything from Ne01 to Ne10. Any way this code can be forced to look for the proper Ne##? Sub Macro7() ' ' Macro7 Macro ' Macro recorded 8/28/2008 by wta ' ' Application.ActivePrinter = "\\printserver1\ParaT_HPLJ_3800 on Ne09:" ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _ "\\printserver1\ParaT_HPLJ_3800 on Ne09:", Collate:=True End Sub |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
maybe someone has an idea, but how about this?
application.Dialogs(xlDialogPrint).Show -- Gary "ordnance1" wrote in message ... The code below is suppose to print a worksheet, but my problem is that it prints to a specific network printer and that printer is not always assigned to Ne09. The number is not always assigned to that printer. I have seen it be anything from Ne01 to Ne10. Any way this code can be forced to look for the proper Ne##? Sub Macro7() ' ' Macro7 Macro ' Macro recorded 8/28/2008 by wta ' ' Application.ActivePrinter = "\\printserver1\ParaT_HPLJ_3800 on Ne09:" ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _ "\\printserver1\ParaT_HPLJ_3800 on Ne09:", Collate:=True End Sub |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I do not want the print dialogbox to show. This was just a snippet of code.
The actual macro is more involved. I just need a way to get it to go to the right printer. "Gary Keramidas" <GKeramidasATmsn.com wrote in message ... maybe someone has an idea, but how about this? application.Dialogs(xlDialogPrint).Show -- Gary "ordnance1" wrote in message ... The code below is suppose to print a worksheet, but my problem is that it prints to a specific network printer and that printer is not always assigned to Ne09. The number is not always assigned to that printer. I have seen it be anything from Ne01 to Ne10. Any way this code can be forced to look for the proper Ne##? Sub Macro7() ' ' Macro7 Macro ' Macro recorded 8/28/2008 by wta ' ' Application.ActivePrinter = "\\printserver1\ParaT_HPLJ_3800 on Ne09:" ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _ "\\printserver1\ParaT_HPLJ_3800 on Ne09:", Collate:=True End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 printing problem--printing 1 document on 2 pages | Excel Discussion (Misc queries) | |||
Excel Printing --Borders are not printing on the same page as data | Excel Discussion (Misc queries) | |||
Printing a heading on each new page when printing | Excel Discussion (Misc queries) | |||
Enable Double sided printing contiuously when printing multiple s. | Excel Discussion (Misc queries) | |||
Printing? Worksheets not printing the same on multiple pc's! | Excel Programming |