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