![]() |
| 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. |
|
|||||||
| Tags: beforeitempaste, clipboardcontent, object |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
In an Outlook com object, I'm checking message classes in the
BeforeItemPaste event, and cancelling the event if the message has been archived. This works fine when moving items between folders in the Explorer But when items are being moved from the Advanced Find window, the ClipboardContent variable exists, but the Count property is 0, and I cannot access its contents. The variable is a variant with underlying type of object. I'm trying to convert it to something that can be read and understood by Outlook. I've tried setting ClipboardContent to a strongly-typed variable, i.e. Collection or MailItem, but nothing has worked. Does anyone know how to get at the contents of the ClipboardContent object when called by AdvancedFind? |
| Ads |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why don't I need a MapiFolder object? | Carol G | Outlook and VBA | 5 | January 17th 07 06:38 AM |
| Redemption Object | Safal | Outlook - Calandaring | 0 | December 29th 06 11:06 AM |
| Insert Object | Philip Enny | Outlook - Using Contacts | 0 | October 28th 06 04:10 AM |
| invalid object | GS | Outlook - General Queries | 0 | August 26th 06 02:03 AM |
| Email object | JMG | Outlook and VBA | 1 | April 21st 06 03:27 PM |