![]() |
Send Button on Custom Task Form
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("s tandard") set MyMenu = MyCommandBar.Controls("assign task") MyMenu.Visible = false thanks |
Send Button on Custom Task Form
You must call Item.Assign in order for the Send button to display.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "steve" wrote in message ups.com... 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("s tandard") set MyMenu = MyCommandBar.Controls("assign task") MyMenu.Visible = false thanks |
Send Button on Custom Task Form
GREAT! Just what i wanted.
thanks On Jun 14, 4:55 pm, "Sue Mosher [MVP-Outlook]" wrote: You must call Item.Assign in order for the Send button to display. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "steve" wrote in oglegroups.com... 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("s tandard") set MyMenu = MyCommandBar.Controls("assign task") MyMenu.Visible = false thanks- Hide quoted text - - Show quoted text - |
All times are GMT +1. The time now is 04:13 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com