![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
Ads |
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
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 - |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Task Form - Assign Button | steve | Outlook - Using Forms | 1 | July 8th 07 08:36 PM |
Button to custom form | Uncle Vito | Outlook - Using Forms | 3 | March 3rd 07 03:06 PM |
How to add a button to a custom form with vbscript | Robert Lindermeier - Your-Admin eK | Outlook - Using Forms | 3 | February 26th 07 05:02 PM |
Custom Task Form | calvin351 | Outlook - Using Forms | 3 | June 15th 06 03:27 AM |
How to use custom task form in Web Outlook | DougMunday | Outlook - Using Forms | 1 | April 7th 06 01:18 PM |