|
Question : WORD VBA: turn off PrintOut option PrintToFile
|
|
After executing this code: ActiveDocument.PrintOut PrintToFile:=True OutputFileName:= strFileName When user goes to print the "Print to file" checkbox is on. How can this be turned off programatically without printing through code again? When Word is closed and re-opened the checkbox is off again. How does Word store this setting? Is there a Registry entry?
|
|
Answer : WORD VBA: turn off PrintOut option PrintToFile
|
|
Hi colje,
With ActiveDocument .PrintOut PrintToFile:=True, OutputFileName:=strFileName .PrintOut , Range:=4, Pages:="0", PrintToFile:=False End With
Rajesh
|
|
|
|