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 - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Cancel Close



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 11th 06, 10:23 AM posted to microsoft.public.outlook.program_forms
MeMatthew
external usenet poster
 
Posts: 14
Default Cancel Close

I want to cancel the form from sending and closing after the Send
button is pressed can somone help put

  #2  
Old September 11th 06, 02:12 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Cancel Close

Set the return value of the Send event handler to False:

Function Item_Send()
Item_Send = False
End Function

--
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

"MeMatthew" wrote in message oups.com...
I want to cancel the form from sending and closing after the Send
button is pressed can somone help put

  #3  
Old September 11th 06, 02:47 PM posted to microsoft.public.outlook.program_forms
MeMatthew
external usenet poster
 
Posts: 14
Default Cancel Close

COOL, 10ks for your help
Sue Mosher [MVP-Outlook] wrote:
Set the return value of the Send event handler to False:

Function Item_Send()
Item_Send = False
End Function

--
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

"MeMatthew" wrote in message oups.com...
I want to cancel the form from sending and closing after the Send
button is pressed can somone help put


  #4  
Old September 12th 06, 09:40 AM posted to microsoft.public.outlook.program_forms
MeMatthew
external usenet poster
 
Posts: 14
Default Cancel Close

How can i stop the mail from being sent?
MeMatthew wrote:
COOL, 10ks for your help
Sue Mosher [MVP-Outlook] wrote:
Set the return value of the Send event handler to False:

Function Item_Send()
Item_Send = False
End Function

--
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

"MeMatthew" wrote in message oups.com...
I want to cancel the form from sending and closing after the Send
button is pressed can somone help put


  #5  
Old September 12th 06, 01:18 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Cancel Close

That's what the code I posted does.

--
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

"MeMatthew" wrote in message oups.com...
How can i stop the mail from being sent?


MeMatthew wrote:
COOL, 10ks for your help
Sue Mosher [MVP-Outlook] wrote:
Set the return value of the Send event handler to False:

Function Item_Send()
Item_Send = False
End Function

"MeMatthew" wrote in message oups.com...
I want to cancel the form from sending and closing after the Send
button is pressed can somone help put


 




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
a reoccuring meeting is cancel it is not being remove tayash Outlook - Calandaring 1 September 5th 06 08:09 PM
how do I cancel the password? davle Outlook - General Queries 1 June 2nd 06 12:47 PM
VB coding of Outlook cancel meeting martin kendrick Outlook - Using Forms 0 June 1st 06 04:08 PM
Item_Send Cancel Rog Add-ins for Outlook 3 May 3rd 06 11:45 PM
Calendar item will not delete on cancel Charles Outlook - Calandaring 0 February 6th 06 12:43 AM


All times are GMT +1. The time now is 11:17 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-2025 Outlook Banter.
The comments are property of their posters.