![]() |
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 have created a custom form which has a couple of voting buttons. When
the form is sent it sets a flag for follow up. I would like to put some code into the form so when they hit the voting buttons it automatically sets the flag to complete. I think i have found what i need - OlFlagStatus and olFlagComplete=1 but as i am not really a coder and havent done anything like this for a while i am not sure how i reference everything to the form . Could someone please help and put me in the right direction. Many Thanks |
Ads |
#2
|
|||
|
|||
![]()
You didn't say what kind of form this is. It matters.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "ICT User" wrote in message oups.com... I have created a custom form which has a couple of voting buttons. When the form is sent it sets a flag for follow up. I would like to put some code into the form so when they hit the voting buttons it automatically sets the flag to complete. I think i have found what i need - OlFlagStatus and olFlagComplete=1 but as i am not really a coder and havent done anything like this for a while i am not sure how i reference everything to the form . Could someone please help and put me in the right direction. Many Thanks |
#3
|
|||
|
|||
![]()
Oh yes sorry - it is a message form
Thanks |
#4
|
|||
|
|||
![]()
Since you said this is a message form, it's pretty simple. You need to use the CustomAction event, something like this:
Function Item_CustomAction(ByVal Action, ByVal NewItem) olFlagComplete=1 Item.FlagStatus = olFlagComplete NewItem.Display End Function -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "ICT User" wrote in message oups.com... I have created a custom form which has a couple of voting buttons. When the form is sent it sets a flag for follow up. I would like to put some code into the form so when they hit the voting buttons it automatically sets the flag to complete. I think i have found what i need - OlFlagStatus and olFlagComplete=1 but as i am not really a coder and havent done anything like this for a while i am not sure how i reference everything to the form . Could someone please help and put me in the right direction. Many Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Complete Noob Here - Outlook Form - Concept | SFC Charlie Cox | Outlook - Using Forms | 9 | March 15th 06 02:44 PM |
Can't move "Flag Status" column | tom | Outlook - General Queries | 2 | March 15th 06 06:20 AM |
Can not move or copy message having "flag complete" | Vinayakc | Add-ins for Outlook | 1 | February 23rd 06 04:48 PM |
VBA Code to check Task Status | [email protected] | Outlook and VBA | 2 | February 3rd 06 07:16 PM |
Cannot programmatically open custom message in custom form | ms | Outlook - Using Forms | 1 | January 20th 06 04:01 PM |