Print or export a single section to PDF
Hi All,
I'm Ginger, a technical writer using Word 2016/365. I'm just learning VBA but I have an urgent request from my customer to print, save, or export a specific section to PDF on a button click. I'm not there yet.
I've done some research and found pieces of information that I only understand partially (because, seriously, I'm just starting out) so I know it can be done. I just need some help.
I found the following but it is for Word 2003. I tried it but it didn't work:
With Dialogs(wdDialogFilePrint)
.Background = True
.Pages = "s1"
.Execute
End With
I understand that it doesn't solve the straight to PDF issue but users can choose PDF.
Ideally, users can click a button above the section break to convert to PDF and open the Save dialog box.
Sorry to be a pain as a noob.
Ginger
|