Send Button on Custom Task Form

  • Thread starter Thread starter steve
  • Start date Start date
S

steve

I'm experimenting with creating a custom task form. I want to
automatically assign all tasks to one person. To do that I set the
initial value of the "to:" field to "John Doe". I then use VBScript
to get rid of the Assign button from the Command bar. The final step
is to add the Send button to the command bar, so the task can be sent
to the person assigned. I can't figure out how to do that. Any
ideas. Here's the code I used to get rid of the Assign button.

dim MyCommandBar
dim MyMenu
set MyCommandBar=Item.GetInspector.commandbars.item("standard")
set MyMenu = MyCommandBar.Controls("assign task")
MyMenu.Visible = false


thanks
 
Back
Top