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

Get the number of characters in Outlook



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 31st 06, 05:59 AM posted to microsoft.public.outlook.program_vba
Sanjay_S via OfficeKB.com
external usenet poster
 
Posts: 8
Default Get the number of characters in Outlook

Hi

I have written a custom plugin for my outlook.. I want to check the number of
characters typed in the message body.. where in it should not exceed 255
characters.. is it possible programmatically..

Thanks in advance

Sanjay

--
Message posted via http://www.officekb.com

  #2  
Old October 31st 06, 06:17 AM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default Get the number of characters in Outlook

Use the body-property for this task: If Len(objMailItem.Body) 255
Then MsgBox "Your text has " & Len(objMailItem.Body) & " characters.
The maximum is 255.", vbExclamation + vbOkOnly, "Mailcheck"

Peter

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung

Sanjay_S via OfficeKB.com schrieb:

Hi

I have written a custom plugin for my outlook.. I want to check the number of
characters typed in the message body.. where in it should not exceed 255
characters.. is it possible programmatically..

Thanks in advance

Sanjay

--
Message posted via http://www.officekb.com


 




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
How to remove non-number characters in Contact phone numbers? Dan Outlook - Using Contacts 1 October 6th 06 04:55 PM
How increase the number of characters a calendar entry contains? John Outlook - Calandaring 3 June 13th 06 04:22 PM
HOw can I use Russian (Cyrillic) characters for email in Outlook? Igor Outlook - Installation 0 February 6th 06 05:07 PM
HOw can I use Russian (Cyrillic) characters for email in Outlook? Igor Outlook - Installation 1 February 6th 06 04:57 PM
Typing Chinese characters in Outlook kingsroad Outlook - Using Contacts 0 January 20th 06 08:34 AM


All times are GMT +1. The time now is 11:23 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.