Userproperties in Folder

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

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

Thanks
 
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.
 
OK Michael, but is possible to read the value of an userproperties create
only in folder ? How ?
Thanks
 
Back
Top