Hello all,
First off I want to thank you for taking the time to read my post. Second off, if someone else has posted about this and come up with a solution, could you kindly send me a link to that post.
So before I start posting code I want to ask if what I want to do is possible. What I would like to do is to have a macro that goes into 3 sub folders deep and retrieves a pdf file and puts it on the attachment part of an email. The file path is going to be taken from a cell on an excel spread sheet. For this instance the file i want to attach will be found in a main folder and then it will need to go through the proper sub folders to find the exact pdf. for example my file path will be mainfolder\2016\march\8\thefileiwant.
As of now I have been able to attach a file with the .attachment code but it only finds files that are one folder deep I.E desktop\folder\thingiwant. however like I said before I want it to go through specific subfolders.
let me know if you have any questions. Thanks in advance!
First off I want to thank you for taking the time to read my post. Second off, if someone else has posted about this and come up with a solution, could you kindly send me a link to that post.
So before I start posting code I want to ask if what I want to do is possible. What I would like to do is to have a macro that goes into 3 sub folders deep and retrieves a pdf file and puts it on the attachment part of an email. The file path is going to be taken from a cell on an excel spread sheet. For this instance the file i want to attach will be found in a main folder and then it will need to go through the proper sub folders to find the exact pdf. for example my file path will be mainfolder\2016\march\8\thefileiwant.
As of now I have been able to attach a file with the .attachment code but it only finds files that are one folder deep I.E desktop\folder\thingiwant. however like I said before I want it to go through specific subfolders.
let me know if you have any questions. Thanks in advance!