View Single Post
  #3  
Old January 13th 06, 08:04 AM posted to microsoft.public.outlook.program_vba
MClaudio
external usenet poster
 
Posts: 2
Default Userproperties in Folder

OK Michael, but is possible to read the value of an userproperties create
only in folder ? How ?
Thanks

"Michael Bauer" wrote:

Am Thu, 12 Jan 2006 10:08:02 -0800 schrieb MClaudio:

That´s the way. If an error occurs than you know that the property doesn´t
exist for that object.

A method for "outsourcing" the error is to move the lines in a separate
function.

Private Function GetProperty(colProps as UserProperties, _
sName as String _
) as UserProperty
On Error Resume Next
Set GetProperty=colProps(sName)
End Function

If the function returns Nothing then the prop doesn´t exist, and the error
will be ignored.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook



Hi,

When i read an userproperties that created only in folder an error occur.
how can i read these properties ?

Thanks


Ads