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

contactitem - how can I add comment text



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 24th 07, 11:31 AM posted to microsoft.public.outlook.program_vba
SwissMiss
external usenet poster
 
Posts: 2
Default contactitem - how can I add comment text

Using vba code, I am creating a new contact. I need to add text in what looks
like the comment on a contact form.
I am taking information from a message, creating a new contact, and adding
name, address, etc. Stumbling block. I must add some text to a comment, but I
cannot find a property to do this. Any suggestions?
--
SwissMiss
Ads
  #2  
Old January 24th 07, 02:14 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default contactitem - how can I add comment text

objItem.Body = "your comment"

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

"SwissMiss" wrote in message ...
Using vba code, I am creating a new contact. I need to add text in what looks
like the comment on a contact form.
I am taking information from a message, creating a new contact, and adding
name, address, etc. Stumbling block. I must add some text to a comment, but I
cannot find a property to do this. Any suggestions?
--
SwissMiss

  #3  
Old January 24th 07, 05:00 PM posted to microsoft.public.outlook.program_vba
SwissMiss
external usenet poster
 
Posts: 2
Default contactitem - how can I add comment text

Thank you so much. Seems obvious but somehow I thought body only applied to
messages. You made my day.
--
SwissMiss


"Sue Mosher [MVP-Outlook]" wrote:

objItem.Body = "your comment"

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

"SwissMiss" wrote in message ...
Using vba code, I am creating a new contact. I need to add text in what looks
like the comment on a contact form.
I am taking information from a message, creating a new contact, and adding
name, address, etc. Stumbling block. I must add some text to a comment, but I
cannot find a property to do this. Any suggestions?
--
SwissMiss


  #4  
Old January 24th 07, 05:14 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default contactitem - how can I add comment text

When in doubt, check the object browser: Press ALt+F11 to open the VBA environment in Outlook, then press F2. Switch from All Libraries to Outlook to browse all Outlook objects and their properties, methods, and events. Select any object or member, then press F1 to see its Help topic.

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

"SwissMiss" wrote in message ...
Thank you so much. Seems obvious but somehow I thought body only applied to
messages. You made my day.
--
SwissMiss


"Sue Mosher [MVP-Outlook]" wrote:

objItem.Body = "your comment"



"SwissMiss" wrote in message ...
Using vba code, I am creating a new contact. I need to add text in what looks
like the comment on a contact form.
I am taking information from a message, creating a new contact, and adding
name, address, etc. Stumbling block. I must add some text to a comment, but I
cannot find a property to do this. Any suggestions?
--
SwissMiss


 




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
ContactItem.Save() Virda Outlook and VBA 9 January 10th 07 12:27 PM
Add Comment Field to Outlook Messages Flagged for Follow Up. Oh! Outlook - General Queries 3 August 2nd 06 03:07 AM
How to change comment in conatct name "namecomment" agporto Outlook - Using Contacts 1 June 22nd 06 03:43 PM
add some text into an email automatically Nader Add-ins for Outlook 10 May 9th 06 03:39 AM
New ContactItem with same EntryID jim Add-ins for Outlook 3 January 20th 06 08:01 PM


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