A
abs
In Word 2003, I created a form template. I created a macro that opens a user
form when the document is opened. The user form comes up and I can fill in
all the text fields, click OK and the document fills in everything exactly
where I want (where the bookmarks are located in the form). I used Dian
Chapman’s instructions and it works fine. All is well...except, I need three
drop downs (I assume combo boxes) from which the end user can select an item
from a list. I began by creating a ComboBox, but can’t seem to get it to
populate. I’ve seen several ways to accomplish this and can’t seem to get
any of them to work. I was going with:
Private Sub UserForm_Initialize()
With ComboBox1
.AddItem “oneâ€
.AddItem “twoâ€
.Add Item “threeâ€
End With
End Sub
Where exactly do I put that? I have all the information for my bookmarks,
etc., after btnUserOK_Click() and it works just fine.
form when the document is opened. The user form comes up and I can fill in
all the text fields, click OK and the document fills in everything exactly
where I want (where the bookmarks are located in the form). I used Dian
Chapman’s instructions and it works fine. All is well...except, I need three
drop downs (I assume combo boxes) from which the end user can select an item
from a list. I began by creating a ComboBox, but can’t seem to get it to
populate. I’ve seen several ways to accomplish this and can’t seem to get
any of them to work. I was going with:
Private Sub UserForm_Initialize()
With ComboBox1
.AddItem “oneâ€
.AddItem “twoâ€
.Add Item “threeâ€
End With
End Sub
Where exactly do I put that? I have all the information for my bookmarks,
etc., after btnUserOK_Click() and it works just fine.