Hi,
I have a form with some Textboxes with multi-lines.
Before they send the form, I will count rows in each textbox. If they are
different i want to stop the Send command, and prompt with a msgbox.
Is it possible to stop the send command. I have tryed this:
sub Item_Send(Cancel as Boolean)
but it doesn't work . Does anyone have an idea how I can stop the send
Command or maybe disable the send button .
//Lasse
Sue Mosher [MVP-Outlook] - 27 Feb 2007 14:31 GMT
Function Item_Send()
If <conditions not met> THen
Item_Send = False
End If
End Function

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
> Hi,
> I have a form with some Textboxes with multi-lines.
[quoted text clipped - 7 lines]
>
> //Lasse