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

user details



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old January 30th 06, 02:57 AM posted to microsoft.public.outlook.program_vba
Rookie
external usenet poster
 
Posts: 3
Default user details

I have a generic txt box on a custom appt form that is being used for
receipents. What I want to do is place a button on the form that acts as a
"check names". What I need is if the value is a valid address I need to be
able to find things like display name and such. Any help would be greatly
appreicated. Below is the code I have so far.

Sub CommandButton2_Click()
strChangeTo = Item.UserProperties.Find("ChgTo").Value
z=split(strChangeTo,";")
i=0
Do until i = (ubound(z)+1)
Set objRecip = Item.Recipients.Add(z(i))
if objRecip.resolve = true then
msgbox z(i) & " is a valid address."
else
msgbox z(i) & " is not a valid address."
end if
i=i+1
Loop
End Sub
--
Thanks,
Jerry L
 




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
Printing Calendar Details From OWA Toby Outlook - Calandaring 1 March 7th 06 02:27 AM
My calendar won't allow me to click to the details Max in NJ Outlook - Calandaring 2 March 4th 06 11:48 PM
Displaying the From details of an email Tosh Outlook - Using Contacts 0 February 25th 06 02:26 PM
details for the outmail account Jim Outlook Express 13 February 24th 06 02:06 PM
How do I find my ISP's POP3 details? Annie1904 Outlook - Installation 1 January 21st 06 04:40 PM


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