CBragg
VB Dummy
- Local time
- Today, 10:55
- Joined
- Oct 21, 2002
- Messages
- 89
I am trying to attach all files in a folder and send them via email using code. I know the hard code to send the actual email, and when specifiying an actual file name i can attach it. Because the file names i want are named differently on various versions of windows i wish to attach all files within a certain folder.
i am using: SendEmail.Attachments.Add "C:\Test\*.*"
The code doesnt recognise the wildcards, does anyone know how to do this??
Any help would be greatly appreciated.
Thanks.
i am using: SendEmail.Attachments.Add "C:\Test\*.*"
The code doesnt recognise the wildcards, does anyone know how to do this??
Any help would be greatly appreciated.
Thanks.