PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Change from View Email to Edit Email

Reply

Change from View Email to Edit Email

 
Thread Tools Rate Thread
Old 29-04-2004, 03:57 PM   #1
MatrimCauthon
Guest
 
Posts: n/a
Default Change from View Email to Edit Email



Hello,

I wonder if its possible to programmatically change from the norma
view of an email (its opened as usual) to where you can edit it.

I know how to achieve this using the outlook commands but I need i
achieved by my Addin.

Thank you for your ideas,

Mat

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

  Reply With Quote
Old 03-05-2004, 10:27 PM   #2
Eric Legault [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: Change from View Email to Edit Email

If the e-mail is open, you can change the mode by setting a reference to the
"Edit Message" button and execute it:

Dim objEditButton As Office.CommandBarButton

Set objEditButton = ActiveInspector.CommandBars.FindControl(, 5604)
objEditButton.Execute

--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
--------------------------------------------------
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


"MatrimCauthon" <MatrimCauthon.15kagg@outlookforum-nospam_.com> wrote in
message news:MatrimCauthon.15kagg@outlookforum-nospam_.com...
>
> Hello,
>
> I wonder if its possible to programmatically change from the normal
> view of an email (its opened as usual) to where you can edit it.
>
> I know how to achieve this using the outlook commands but I need it
> achieved by my Addin.
>
> Thank you for your ideas,
>
> Mat.
>
>
> ------------------------------------------------
> ~~ Message posted from http://www.ExcelTip.com/
> ~~View and post usenet messages directly from http://www.ExcelForum.com/
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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