georgefreight
New Member
- Joined
- Sep 21, 2015
- Messages
- 15
Hi
I've spent 2 days searching around forums to solve my problem and seem to be hitting a dead end, if anyone knows if this is possible or how to do it that's much appreciated.
I'm trying to send emails based on this link Mail a different file(s) to each person in a range
Col A is name, Col B is email and Col C is the filepath
I'm sending a monthly email that sends a different pdf to each customer each month
The filepath remains the same with eg C:\\folder\rates\ however the file names have a constant business name but have a changing date
ie c:\folder\rates\georges cars 21 09 2015.pdf
When I copy and paste this filepath in the macro works correctly, however when I've replaced column C with
=hyperlink(filepath & business name & "dd mm yyyy.pdf")
ie =HYPERLINK(E3&F3&" "&G3,"link name")
it allows me to click through the file however it won't add this file as an attachment when I run the macros to create the emails.
Is it possible to set up the hyperlink so it can updated with the date and still attach to the emails??
Not bothered if I have to enter the date manually as I didn't have much luck using it in the hyperlink with =today()
Many thanks
George
I've spent 2 days searching around forums to solve my problem and seem to be hitting a dead end, if anyone knows if this is possible or how to do it that's much appreciated.
I'm trying to send emails based on this link Mail a different file(s) to each person in a range
Col A is name, Col B is email and Col C is the filepath
I'm sending a monthly email that sends a different pdf to each customer each month
The filepath remains the same with eg C:\\folder\rates\ however the file names have a constant business name but have a changing date
ie c:\folder\rates\georges cars 21 09 2015.pdf
When I copy and paste this filepath in the macro works correctly, however when I've replaced column C with
=hyperlink(filepath & business name & "dd mm yyyy.pdf")
ie =HYPERLINK(E3&F3&" "&G3,"link name")
it allows me to click through the file however it won't add this file as an attachment when I run the macros to create the emails.
Is it possible to set up the hyperlink so it can updated with the date and still attach to the emails??
Not bothered if I have to enter the date manually as I didn't have much luck using it in the hyperlink with =today()
Many thanks
George