![]() |
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
|
|||
|
|||
![]()
Hi,
We have a custom form that creates a post in a public folder. In Outlook 2007, when a user opens a posting in this folder, they cannot edit the body of the post until they click the "Revise Contents" button. I'd like to execute this button on the Item_Open event so they do not have to click this manually. I have the code below, but nothing seems to happen: Dim objInsp Dim colCB Dim objCBB On Error Resume Next Set objInsp = Item.GetInspector Set colCB = objInsp.CommandBars Set objCBB = colCB.FindControl(, 3273) If Not objCBB Is Nothing Then 'MsgBox objCBB.Caption objCBB.Execute End If Set objCBB = Nothing Set colCB = Nothing Set objInsp = Nothing Thanks for any help -Chris |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Displaying contents of a Custom Form | Kevin Smith | Outlook - Using Forms | 3 | April 7th 08 04:01 PM |
Custom form code not firing | karlman[_2_] | Outlook - Using Forms | 10 | January 4th 08 11:38 AM |
Custom form code not firing | karlman[_2_] | Outlook and VBA | 1 | January 2nd 08 09:53 PM |
Button to custom form | Uncle Vito | Outlook - Using Forms | 3 | March 3rd 07 02:06 PM |
Add Button To Form That Automatically Saves Contents To Text File | Dani | Outlook - Using Forms | 1 | September 19th 06 01:17 PM |