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

Outlook 2007 Macro: Paste - Paste Special - Unformatted Text



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old August 22nd 09, 04:13 AM posted to microsoft.public.outlook.program_vba
Gary Petersen
external usenet poster
 
Posts: 9
Default Outlook 2007 Macro: Paste - Paste Special - Unformatted Text

I'd like to assign a macro in Outlook 2007 to a Toolbar button that would
execute the equivalent of these clicks when there is formatted text in the
Windows clipboard:

1. Click the Paste icon by the bottom arrow
2. Click the Paste Special link.
3. Click the Unformatted Text link.

I have similar macros in Excel 2007 and Word 2007 but haven't been able to
get one to work in Outlook 2007 / VBA. What would the VBA code for such a
macro be?

When I try code similar to what I use in Word, I get a Run time error '424'
Object required error. I'm obviously not defining an object correctly, but
I've not been able to figure out how to do that properly. Thanks for the
help.

--
Gary Petersen

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Paste Special Unformatted Text in Outlook Gary Petersen Outlook and VBA 2 March 4th 09 06:08 PM
using outlook 2007 I can no longer paste jpg pictures into the text area Adam Raff Outlook - General Queries 2 September 29th 08 05:39 PM
Paste Special Macro ILv2Xlr8 Outlook and VBA 0 December 17th 07 02:24 PM
Unformatted Paste in Outlook 2007 Chris Boorman Outlook - General Queries 0 October 30th 07 04:27 AM
Paste Special livetohike Outlook - General Queries 0 September 15th 07 10:55 PM


All times are GMT +1. The time now is 06:27 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.