G
Guest
In replying to DanL on Jan 5, 2004, Sue Mosher said
"When in doubt, check the object browser: Press ALt+F11 to open the VB
environment in Outlook, then press F2. The method you're looking for i
MailItem.Attachments.Add
I think I understand in principle how this will work however do not have a deep programming background. (I've been building my form using the tools provided, i.e. no direct coding.) Thus, I don't know how to apply this
What I'd like to do is be able to paste files into "text" fields, like how you can do it with the "standard" Task form (which is the type of form that I'm using). These could be Word or Excel docs, images, other emails, etc
In design mode, if I'm on the standard "Task" tab/view (which I've hidden), the "Add attachment" paper-clip icon (at the top of the form, just under the drop-down menus) is activated. If I move off that tab, it's greyed-out
Thus, I think there are two parts to this question
1) How to be able to attach files to a custom form (maybe some guidance on using the "MailItem.Attachments.Add" method?)
2) How to be able to configure my "text" boxes to be able to accept attachments as described above
Thanks for your help
Marc
"When in doubt, check the object browser: Press ALt+F11 to open the VB
environment in Outlook, then press F2. The method you're looking for i
MailItem.Attachments.Add
I think I understand in principle how this will work however do not have a deep programming background. (I've been building my form using the tools provided, i.e. no direct coding.) Thus, I don't know how to apply this
What I'd like to do is be able to paste files into "text" fields, like how you can do it with the "standard" Task form (which is the type of form that I'm using). These could be Word or Excel docs, images, other emails, etc
In design mode, if I'm on the standard "Task" tab/view (which I've hidden), the "Add attachment" paper-clip icon (at the top of the form, just under the drop-down menus) is activated. If I move off that tab, it's greyed-out
Thus, I think there are two parts to this question
1) How to be able to attach files to a custom form (maybe some guidance on using the "MailItem.Attachments.Add" method?)
2) How to be able to configure my "text" boxes to be able to accept attachments as described above
Thanks for your help
Marc