![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi
I have created a custom form which is saved in my "Organizational Forms" library in Exchange. I would like to be able to drag an email message with an attachment into the folder (the public folder has the custom form setup as the default when posting) . When the email is dragged into the folder the custom form is created and all of the message body is copied over, this works OK. But I need emails with attachments, for the attachment to be copied into the custom form also. I think this is one for Sue Mosher, I looked at the code example in your book to copy attachments but I cannot get this to work.. I have added the two sub routines CopyAttachmentsDemo() & Sub CopyAttachments(objSourceItem As Object, objTargetItem As Object) to the script editor, is this correct? I have added the code to the custom form, is this correct? Does it need to be in the source item or the destination item..? When I drag and drop the email into the folder I get a script error "Expected End of Statement Line No: 2 (line 2 in the script is Dim objApp As Outlook.Application in the CopyAttachmentsDemo() sub..? Could you advise what I am doing wrong, the code was copied from the example in the book.. Regards Matt |
#2
|
|||
|
|||
![]()
Just wondering if anyone has had a chance to look into this...it's really got
me baffled..! Any help would be much appreciated Regards Matt "Matt" wrote: Hi I have created a custom form which is saved in my "Organizational Forms" library in Exchange. I would like to be able to drag an email message with an attachment into the folder (the public folder has the custom form setup as the default when posting) . When the email is dragged into the folder the custom form is created and all of the message body is copied over, this works OK. But I need emails with attachments, for the attachment to be copied into the custom form also. I think this is one for Sue Mosher, I looked at the code example in your book to copy attachments but I cannot get this to work.. I have added the two sub routines CopyAttachmentsDemo() & Sub CopyAttachments(objSourceItem As Object, objTargetItem As Object) to the script editor, is this correct? I have added the code to the custom form, is this correct? Does it need to be in the source item or the destination item..? When I drag and drop the email into the folder I get a script error "Expected End of Statement Line No: 2 (line 2 in the script is Dim objApp As Outlook.Application in the CopyAttachmentsDemo() sub..? Could you advise what I am doing wrong, the code was copied from the example in the book.. Regards Matt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with custom form after drag and drop (security related?) | AlanGlover | Outlook - Using Forms | 3 | November 15th 07 05:41 PM |
Can't drag and drop an Excel file from Windows Explorer to new mail message | Nigel Freeney[_2_] | Outlook - General Queries | 4 | July 24th 07 11:58 PM |
Can't drag and drop message to Calendar in Outlook 2007 | Larry-K | Outlook - Calandaring | 1 | April 4th 07 10:30 PM |
I cant drag and drop a message into calender | MWGP | Outlook - Calandaring | 4 | March 28th 07 05:59 PM |
can't Drag and drop an email message from an Outlook Folder into a new message | [email protected] | Outlook - General Queries | 1 | December 14th 06 11:56 PM |