• Subject: Automating Paste In Outlook 2007
  • Author: Neil
  • Date: 23 Jul 2010
  • References:
I have some code which automates an Edit | Paste in Outlook 2003, as
follows:

objOutlookMsg.GetInspector.CommandBars.Item("Menu
Bar").Controls("Edit").Controls("Paste").Execute

where objOutlookMsg is an object variable set to an e-mail message.

This code works fine in 03. However, it results in an "Automation Error" in
Outlook 2007.

How do I automate an Edit | Paste in Outlook 2007?

Thanks!

Neil
23 Jul 2010Automating Paste In Outlook 2007.Neil
23 Jul 2010\ Re: Automating Paste In Outlook 2007.Ken Slovak
24 Jul 2010   |- Re: Automating Paste In Outlook 2007.Neil
24 Jul 2010   \ Re: Automating Paste In Outlook 2007.Neil
26 Jul 2010      \ Re: Automating Paste In Outlook 2007.Ken Slovak
27 Jul 2010         |- Re: Automating Paste In Outlook 2007.Neil
28 Jul 2010         |  \ Re: Automating Paste In Outlook 2007.Ken Slovak
29 Jul 2010         |     \ Re: Automating Paste In Outlook 2007.Neil
29 Jul 2010         |        \ Re: Automating Paste In Outlook 2007.Ken Slovak
30 Jul 2010         |           \ Re: Automating Paste In Outlook 2007.Neil
27 Jul 2010         \ Re: Automating Paste In Outlook 2007.Neil
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)