A
atwork
I am new to outlook and to programming so i am struggiling. I have had one VB
class about 2 years ago. I am trying to fill a combobox with vbscript code.
After reading a few articles and trying to peice everything together this is
what i have done.
Option Explicit
dim Control
Sub cbosubject_click()
Set Page = Item.GetInspector.ModifiedFormPages("PickOne")
Set Control = Page.Controls("cbosubject")
Control.additem "Marketing"
Control.additem "Sales"
End sub
PickOne is the name of the form and
cbosubject is the name of the combobox
The question or problem is when I run the form there is nothing in the
combobox
Thanks in advance
class about 2 years ago. I am trying to fill a combobox with vbscript code.
After reading a few articles and trying to peice everything together this is
what i have done.
Option Explicit
dim Control
Sub cbosubject_click()
Set Page = Item.GetInspector.ModifiedFormPages("PickOne")
Set Control = Page.Controls("cbosubject")
Control.additem "Marketing"
Control.additem "Sales"
End sub
PickOne is the name of the form and
cbosubject is the name of the combobox
The question or problem is when I run the form there is nothing in the
combobox
Thanks in advance