Please help with Function Item_Open()

J

Joel

Public Task Folder:

My form runs fine until I add this into my script:

Function Item_Open()
If Item.UserProperties("TaxExempt") = True Then
Set ins = Item.GetInspector
Set pgs = ins.ModifiedFormPages
Set pg = pgs("PM")
Set ctls = pg.Controls
ctls("combobox34").Enabled = False
else
Set ins = Item.GetInspector
Set pgs = ins.ModifiedFormPages
Set pg = pgs("PM")
Set ctls = pg.Controls
ctls("combobox34").Enabled = True
End If
End Function

When another user on exchange opens a Task, they get an error saying cannot
open the form, will use the default form instead.

Any ideas?

Thanks - Joel
 
S

Sue Mosher [MVP-Outlook]

Outlook version? Where is the form published? Have you tried having the
other user clear their forms cache?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top