S
Stefan Schnell
Hello community,
with the following code I change the printer and print the active document
Application.ActivePrinter = PrinterName
ActiveDocument.Print
The printer is printing into a file and I want to know: How is the way to
give Visio the name of the file?
E.g. in Excel you can give the PrintOut order an argument, this is name of
the file:
ExcelApp.ActiveWorkbook.PrintOut , , , , , True, , _
DestinationPath & NameOfFile & "ps"
Is there an similar order in Visio?
Thanks for tips.
Stefan
with the following code I change the printer and print the active document
Application.ActivePrinter = PrinterName
ActiveDocument.Print
The printer is printing into a file and I want to know: How is the way to
give Visio the name of the file?
E.g. in Excel you can give the PrintOut order an argument, this is name of
the file:
ExcelApp.ActiveWorkbook.PrintOut , , , , , True, , _
DestinationPath & NameOfFile & "ps"
Is there an similar order in Visio?
Thanks for tips.
Stefan