Hi,
his s the code I am using but where it says =range("C5") I want to add another cell like H1 but I must be blind and can not find it on here. I have tried multiple ways but just cant figure it out. sorry
Sub saveaspdf()
ChDir "C:\Users\he138642\Desktop\Test INVOICE"
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=Range("C5").Value _
, Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=True
End Sub
his s the code I am using but where it says =range("C5") I want to add another cell like H1 but I must be blind and can not find it on here. I have tried multiple ways but just cant figure it out. sorry
Sub saveaspdf()
ChDir "C:\Users\he138642\Desktop\Test INVOICE"
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=Range("C5").Value _
, Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=True
End Sub