Ausdruck auf verschiedene Drucker
Peter
vielleicht könnt Ihr mir wiedermal helfen. Ich habe verschiedene gefilterte Tabellen, die ich auf unterschiedliche Netzwerkdrucker senden muß.
Ich habe mir das so gedacht
Application.Run "GMT2004.xls!HKT10_Wochenabstimmung"
'umsetzen von standarddrucker auf DPC042
Application.ActivePrinter = "\\DPC042\HP LaserJet 1100 auf Ne06:"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"\\DPC042\HP LaserJet 1100 auf Ne06:", Collate:=True
Application.Run "GMT2004.xls!Zzurück_zur_Information"
Application.Run "GMT2004.xls!HKT15_Wochenabstimmung"
Application.ActivePrinter = "\\DPC041\HP LaserJet 1100 auf Ne05:"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"\\DPC041\HP LaserJet 1100 auf Ne05:", Collate:=True
'umsetzen von standarddrucker auf DPC041
Application.Run "GMT2004.xls!Zzurück_zur_Information"
Application.Run "GMT2004.xls!HKT16_Wochenabstimmung"
Application.ActivePrinter = "\\DPC041\HP LaserJet 1100 auf Ne05:"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"\\DPC041\HP LaserJet 1100 auf Ne05:", Collate:=True
'umsetzen auf standarddrucker
Application.ActivePrinter = "HP LaserJet 6P Dziallas auf LPT1:"
Application.Run "GMT2004.xls!Zzurück_zur_Information"
Leider bleibt das Makro beim ersten Umstellen auf DPC42 stehen.
Ich weiß nicht weiter, Danke für alle Tips
Peter D
Anzeige