Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Making new reply forms (http://www.outlookbanter.com/outlook-vba/7366-making-new-reply-forms.html)

Sue Mosher [MVP-Outlook] February 1st 06 05:35 PM

Making new reply forms
 
Let me get clear on what you're trying to do: You want to reply to a message you recieved, but using a custom form? Why? Using custom forms for messages can have ill effects, like non-Outlook recipients not being able to see attachments.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Rob012669" wrote in message ...
I created a new reply form by clicking on a message, then:

tools - Design this form (make changes to the form)
tools - publish form as - (save in inbox) then called it new-reply...
Message class: IPM.Note.new-reply

I added this macro to vba:
Sub DisplayForm()
Set myFolder = Session.GetDefaultFolder(olFolderInbox)
Set myItem = myFolder.Items.Add("IPM.Note.new-reply")
myItem.Display
End Sub

I added the macro button to the message window I get when I double click on
outlook inbox message to bring up the individual message

When I click on the macro button I dont get any value in the To... field of
my new reply form:

Can someone please give me an idea how to populate the To... field with the
email address of the person that sent me the email?

Thanks for your help,
Rob



All times are GMT +1. The time now is 05:24 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com