Hi all,
I have got a macro to create a PDF but it always saves as the same name i.e. C:\pdf\RFI pdf.
I have to rename the file as something different each time, the ref is contained in cell C2 of the active worksheet.
Is there a way I can save the pdf and it saves as a named file which refers to a ref in cell C2 of the worksheet?
I have an issue with where to place the code for the following! I have been told to insert this code but cant figure out where!
& Sheets(Sheet Name Here).Range("C2").Value
can you highlight where i need to add the code?
the sheet mane is RFI ENQ.
Sub PDF()
'
' PDF Macro
'
'
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"H:\Documents\1_CAPABILITY INSERTIONS\30_RFI's\RFI.pdf", Quality:= _
xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=False, _
OpenAfterPublish:=True
End Sub
thanks
D
Bookmarks