View Single Post
  #4  
Old January 16th 06, 07:59 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Userproperties in Folder

Am Fri, 13 Jan 2006 00:04:02 -0800 schrieb MClaudio:

You need to use CDO or Redemption (www.dimastr.com) instead.

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



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