Hello,
I need to find a files extension so that I can add an attachment to an email.
I know the folders pathway and the files will have a specific number but the files range from office docs to images.
The file number will relate to a field in my db, so that when the email is generated it knows which file to look for and attach.
I assumed that I could use something like "C:folder\file\" & me.field & "*" but when using * it tells me that the file doesn't exist.
Any help you be great.