Sir,
Please help me to solved the issues .When I run the macro its showing "run time error 5 or invalid procedure or call argument.
I want save the file in PDF in specific location,my code is given below.
Sub saveinvoice()
Sheet2.Range("A1:l57").ExportAsFixedFormat Type:=xlTypePDF, Filename:="C:\Users\USER\Desktop\inventory\" & Sheet2.Range("j11").Value & ".pdf", openafterpublish:=True
End Sub
Regards
Manoj
Bookmarks