Hey guys,
Just having some trouble with some syntax. Basically my excel spreadsheet is sending an email out and I want the clickable button when clicked to ask which attachment should be added, so an open file dialog box.
I have written this code for the file dialog:
And the part of my Code that adds the recipient and attachments is:![]()
Please Login or Register to view this content.
Basically, the .Attachments.Add is where I am stuck, you can put a destination path in quotes and that works fine, but I want to run my other sub so that the user can select the file to attach.![]()
Please Login or Register to view this content.
Thanks in advance for any replies, info always greatly appreciated! If anyone has an alternative method I'm open to that also!
Liam
Bookmarks