Hi,
I have recorded a macro for saving my sheet as pdf. with the same name of my Excel workbook.
I would like macro to ask me with comment box to put the name of the file before it saves it to my desktop.
Sub SaveasPdf()
'
' SaveasPdf Makro
'
'
Range("A1:F1").Select
Range(Selection, Selection.End(xlDown)).Select
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"C:\Users\user1\Desktop\NAME .pdf", Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:= _
True
End Sub
Thanks for any help I can get.
B.
Bookmarks