Please help with Function Item_Open()

  • Thread starter Thread starter Joel
  • Start date Start date
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
 
Outlook version? Where is the form published? Have you tried having the
other user clear their forms cache?
 
Back
Top