Custom Form - Checkboxes

G

Guest

I got the Categories/date-time problem resolved by creating a new form (I
couldn't find any formulas set for Categories, so I used this method).
However, upon running my form, I'm getting an error 'Object required: 'test"
on line 4. I believe that "test" is the object and it's being passed to the
next line, but there's something I'm not noticing.

Thanks.

Function Item_Write()
Set myinspector = Item.GetInspector
Set test = myInspector.ModifiedFormPages("General")
Set Checkbox1 = test.Controls("CheckBox1")

If CheckBox1.Value = True Then
Item.Categories = Item.Categories & ",Business"
End If
End Function
 
S

Sue Mosher [MVP-Outlook]

The error suggests that there is no customized page with a display name of "General."
 

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