Hi,
I have a macro that runs and creates a word document. I want the macro to also create the word document to PDF and if possible extract the last 4 pages of the PDF as a separate file. Im new to macro so any help will be greatly appreciated.
I tried using
but doesnt work.
I have a macro that runs and creates a word document. I want the macro to also create the word document to PDF and if possible extract the last 4 pages of the PDF as a separate file. Im new to macro so any help will be greatly appreciated.
I tried using
Code:
ActiveDocument.ExportAsFixedFormat Type:=xlTypePDF, Filename:=(Path & "\" & FirstName & "\" & LastName & " " & Date)
Last edited by a moderator: