O2003 - Custom Form - Adding Category Button



I'm using O2003 and created a custom task form. I want to have access
to my master Category list like I do on the main task form.

I created a command button and used "cmdCategories" in the name field
entered the code below. When I try to use the button, I get an invalid
procedure or call in the "Set cmd" line.

Sub cmdCategories_Click()
Set ai = Item.Application.ActiveInspector
Set mb = ai.CommandBars.Item("Menu Bar")
Set cmd = mb.Controls("Edit").Controls("Categories...")
End Sub

Any suggestions would be appreciated?


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