I'm not sure if this is a typo, but this line should at least read:However, you'll still have a format problem with the variable dt_bill because a file name can't use slashes.ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=Path & fname
I'm not sure if this is a typo, but this line should at least read:However, you'll still have a format problem with the variable dt_bill because a file name can't use slashes.ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=Path & fname
Difficult is not to know but to share what you know (Han Fei Tzu reworked)