bradyboyy88
Well-known Member
- Joined
- Feb 25, 2015
- Messages
- 562
I have created a custom tab in outlook and now I want to add a textfield and dropdown box too it from an outlook vba module. Is this possible similar to excel's code to add commandbar items. For example, I have this code in excel:
Code:
Set testbar= CommandBars.Add(Name:="stuff", Position:=msoBarTop, Temporary:=True, MenuBar:=False)
testbar.Visible = True
With testbar.Controls.Add(Type:=msoControlEdit)
.Caption = "Caption"
.Style = msoComboLabel
.OnAction = "Test"
End With
Last edited: