Hi -
I have a macro that will create a PDF file for archival purposes. I can get the macro to work fine, however I want to refer to a specific cell to include a name in the PDF file.
For example, currently, the macro will produce a PDF file called "CARE/PDF" I want to alter the macro to include a name in PDF file name, like "FRED_CARE.PDF". The name fred appears in cell b4 of the "CARE" worksheet.
This is what I have:
' MakePDF Macro
'
' Keyboard Shortcut: Ctrl+a
'
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"F:\HOME\COMMERCIAL\SMALL GROUP RATE MODELS\PDF Files\Care.pdf", Quality:= _
xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=False, _
OpenAfterPublish:=True
End Sub
Can anyone please help me??
Thanks,
JB
Bookmarks