Hello.
I've tried to make an macro which will send an email with an attached PDF from my spreadsheet.
So far so good I've managed to make it work, but for some reason it will now crash and give the highlighted error on .Attachments.Add Fname, where it tells me that the path doesn't exist or wasn't found. The only problem is, that the exact same macro just created that PDF, but in the same macro it tells me it doesn't find the path.
If I remove the Attachments.Add Fname the macro manage to send the email correctly just without my PDF.
In VBa it looks like this:
Hope that anyone can help me out here.
Daniel
Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #2 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer
Bookmarks