Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Limiting field sizes in OL97

0 views
Skip to first unread message

Jon Allbon

unread,
Mar 15, 2000, 3:00:00 AM3/15/00
to
Hi,

I'm trying to customize an Outlook97 form so that the message body is
limited to 140 characters. I am very new to form design, so know little
about the programming behind it.
The reason I need this is that I send a lot of emails to SMS phones, where
their message size is limited to 160 characters, however the service I use
automatically adds my name and phone number to the end of the message.

Any help with this would be much appreciated.

TIA

Daniel B

unread,
Mar 16, 2000, 3:00:00 AM3/16/00
to
Jon,

Use the propertychange event in the form and then
publish it to the folder. The customized form will then
appear in the Action menu. You can even set it as the
default form for the folder.

The code would be looking like this:

Sub Item_PropertyChange(ByVal name)

If name = "Body" Then
If Len(Item.Body) > 160 Then
MsgBox "Too much text for an SMS!"
End If
End If

End Sub

Daniel

0 new messages