vba - How do I reference outlook custom form userdefined fields in vb code? -
i have custom form has userdefined fields unique projects. form works make more useful emailing or printing referencing userdefined field. example field "accountno". have tried oltsk.userdefined("accountno"): tsk.userdefined("accountno"); ("accountno") preceded dim userdefined fields strng; have seemed try every variation google find me. have outlook 2013 @ work. can work on older version @ home nothing seems work @ work. appreciated.
if property added user properties, can use taslkitem.userpropertiers.find or using taskitem.propertyaccessor.getproperty. latter work both user properties , properties set using taskitem.propertyaccessor.setproperty.
to figure out dasl names of custom properties, take @ item these properties set using outlookspy - click imessage button on outlookspy ribbon, select property, @ dasl edit box.
Comments
Post a Comment