I have the following code
Dim ObjOutlook As Outlook.Application
Dim ObjCtl As Office.CommandBarControl
Dim ObjPop As Office.CommandBarPopup
Dim ObjCB As Office.CommandBar
Dim ObjItem As Object
Set ObjOutlook = CreateObject("Outlook.Application")
Set ObjCB = ObjOutlook.ActiveInspector.CommandBars("Standard")
Set ObjPop = myMenu.Controls("Insert")
Set ObjPop = ObjPop.Controls("Signature")
ObjPop.Reset
Set ObjCtl = ObjPop.Controls.Item("Deliveries")
ObjCtl.Execute
But I keep getting errors in the line starting Set ObjCB I get the following
error.
Run-time error '91':
Object variable or With block variable not set
Help please
Amiga1200
Alex Dybenko - 19 Jan 2006 05:29 GMT
Hi
I would suggest you to better ask in Outlook group

Signature
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
>I have the following code
>
[quoted text clipped - 21 lines]
> Help please
> Amiga1200