Hello,
I would like to keep my custom published form open for further editing after
clicking the Send button. I have used the following code but it doesn't seem
to work:
Function Item_Close()
Msg = " Would you like to keep this form open for further updates? "
Response = MsgBox(Msg, vbYesNo+vbInformation, "Question")
If Response=vbYes then
Item_Close = False
Exit function
End if
Item_Close = True
End Function
This code works when I press ESC or try to close the form but not when I
click on Send. Any help would be appreciated.

Signature
Lucien Levreault
Hollis Paul - 24 Oct 2006 18:56 GMT
> I would like to keep my custom published form open for further editing after
> clicking the Send button. I have used the following code but it doesn't seem
> to work:
Do you really want it edit the message you just sent, or would you be happy
working on a new copy of the custom form. If the latter, then you probably
want to do an Items.add("custom_form_name") from the write_event (not sure if
this gets hit twice after send), which will create the new item to work on.
If the former, then you would want to make a copy in the write event. Not sure
what the method might be.
--
Hollis Paul
Mukilteo, WA USA
Sue Mosher [MVP-Outlook] - 24 Oct 2006 20:14 GMT
Answered at http://www.outlookcode.com/codedetail.aspx?id=1407

Signature
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
> Hello,
>
[quoted text clipped - 18 lines]
> This code works when I press ESC or try to close the form but not when I
> click on Send. Any help would be appreciated.