79404237

Date: 2025-02-01 00:38:59
Score: 4
Natty: 4
Report link

WdPrintOutRange should be set to wdPrintRangeOfPages then Pages: ""-""

"The page numbers and page ranges to be printed, separated by commas. For example, "2, 6-10" prints page 2 and pages 6 through 10."

it will print out the specific page/s like you do in microsoft word.

https://learn.microsoft.com/en-us/dotnet/api/microsoft.office.tools.word.document.printout?view=vsto-2022

please let me know if it works for you because this works on me.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • No code block (0.5):
  • Low reputation (1):
Posted by: James Dean