Rebecca Kowalski
New Member
- Joined
- Feb 16, 2016
- Messages
- 31
Hi all,
Not sure why the below part of my macro isn't working. It should save the Active Sheet (Tab2) as a PDF document. To the file location notes and call it whatever is in the cells D5,E5,H5 (in Tab1) and then the date.....

ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:="W:\BlahBlahBlah" & Range("D5")("E5")("H5").Value & Format(Date, "mmdd")
Not sure why the below part of my macro isn't working. It should save the Active Sheet (Tab2) as a PDF document. To the file location notes and call it whatever is in the cells D5,E5,H5 (in Tab1) and then the date.....
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:="W:\BlahBlahBlah" & Range("D5")("E5")("H5").Value & Format(Date, "mmdd")