A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , ,

ClipboardContent object in BeforeItemPaste





 
 
Thread Tools Display Modes
  #1  
Old March 28th 07, 10:07 PM posted to microsoft.public.outlook.program_vba
CLS
external usenet poster
 
Posts: 1
Default ClipboardContent object in BeforeItemPaste

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 04:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Loan - Ringtones - Kung fu for a healthy you - Mobile Phones - Free Credit Report