L
Legal Learning
Here is my existing code:
Sub Print_Letter
With Dialogs(wdDialogFilePrintSetup)
.Printer = "\\fs2\HP Color LaserJet 3500"
.DoNotSetAsSysDefault = True
.Execute
End With
Dialogs(wdDialogFilePrint).Show
End Sub
Let's say that the printer prior to running this macro is \\fs2\HP 4100
After this macro is executed Word will keep the 3500 as the printer until
the user changes it back. How can I assign a variable and change it back to
the printer it was before executing the macro (this may not be the default
either) AFTER the user clicks ok on the Print dialog?
Thanks in advance for any help!
Sub Print_Letter
With Dialogs(wdDialogFilePrintSetup)
.Printer = "\\fs2\HP Color LaserJet 3500"
.DoNotSetAsSysDefault = True
.Execute
End With
Dialogs(wdDialogFilePrint).Show
End Sub
Let's say that the printer prior to running this macro is \\fs2\HP 4100
After this macro is executed Word will keep the 3500 as the printer until
the user changes it back. How can I assign a variable and change it back to
the printer it was before executing the macro (this may not be the default
either) AFTER the user clicks ok on the Print dialog?
Thanks in advance for any help!