How to iterate through ContactItem properties? 
Author Message
 How to iterate through ContactItem properties?

In essence, given
Dim oCItem As Outlook.ContactItem
I want something like
? cCItem("FullName").Value
Is this possible? If so, how?

 - Robert.



Fri, 15 Nov 2002 03:00:00 GMT  
 How to iterate through ContactItem properties?
oCItem.FullName.
--
Sue Mosher
Author of
  "Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours"
  "Microsoft Outlook 2000 E-mail and Fax Guide"

Outlook and Exchange solutions at http://www.slipstick.com


Quote:
> In essence, given
> Dim oCItem As Outlook.ContactItem
> I want something like
> ? cCItem("FullName").Value
> Is this possible? If so, how?

>  - Robert.



Sat, 16 Nov 2002 03:00:00 GMT  
 How to iterate through ContactItem properties?
Sue, let me repeat: How to ITERATE through a contact item. oCItem.FullName
is specific. How about

oCItem(strVariable).Value

where the strVariable = "FullName" or something like it...

 - Robert.



Quote:
> oCItem.FullName.
> --
> Sue Mosher
> Author of
>   "Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours"
>   "Microsoft Outlook 2000 E-mail and Fax Guide"

> Outlook and Exchange solutions at http://www.slipstick.com



> > In essence, given
> > Dim oCItem As Outlook.ContactItem
> > I want something like
> > ? cCItem("FullName").Value
> > Is this possible? If so, how?

> >  - Robert.



Sat, 16 Nov 2002 03:00:00 GMT  
 How to iterate through ContactItem properties?
You can use the UserProperties.Find method, but I'm told (but haven't tested
myself) that it may one-off the item.
--
Sue Mosher
Author of
  "Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours"
  "Microsoft Outlook 2000 E-mail and Fax Guide"

Outlook and Exchange solutions at http://www.slipstick.com


Quote:
> Sue, let me repeat: How to ITERATE through a contact item. oCItem.FullName
> is specific. How about

> oCItem(strVariable).Value

> where the strVariable = "FullName" or something like it...

>  - Robert.



> > oCItem.FullName.
> > --
> > Sue Mosher
> > Author of
> >   "Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours"
> >   "Microsoft Outlook 2000 E-mail and Fax Guide"

> > Outlook and Exchange solutions at http://www.slipstick.com



> > > In essence, given
> > > Dim oCItem As Outlook.ContactItem
> > > I want something like
> > > ? cCItem("FullName").Value
> > > Is this possible? If so, how?

> > >  - Robert.



Sun, 17 Nov 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Iterate Properties on ContactItem

2. Limit to Body property of ContactItem

3. FileAs property of ContactItem

4. ContactItem Properties

5. Default property for a contactitem

6. Limit on Body property of ContactItem

7. Iterating a form's property values

8. iterating database properties?

9. Iterate through custom properties from VBA?

10. Q: Iterate a controls properties at runtime?

11. Iterating through the properties of an object?

12. Iterate through an object's properties (any object)

 

 
Powered by phpBB® Forum Software