Good Morning
I was hoping someone could perhaps assist I am really overlooking something
I am currently creating a second userform (combobox) in my word document.
(Reason i am using the user form is due to the fact that I have more than 25 items listed in my combo box.)
I have A skills Selection part in my word doc
This Selction consist of a variety of 20 different fields to choose from
The bookmark name Start Skill 1 Thru to 20
I then created a userfrom wich will have 20 comboboxes on it, To fill bookmarks 1 -20
I have used the following code to upon clicking on bookmark one open my userform
and then select from the comoboxes but i just dont get any information in my dropdown at all
A module to open the form
**********************************
Sub gocombobox()
SkillForm.Show
End Sub
***************************************
Code on Combobox 1 (Skill1)
********************************************
Private Sub CmdSkills1_Change()
ActiveDocument.FormFields("Skill1").Result = CmdSkills1.Value
End Sub
Private Sub SkillForm_Initialize()
CmdSkills1.ColumnCount = 1
CmdSkills1.List() = Array("Eod", "Eod2", "etc", "etc1")
End Sub
Private Sub CmdCloseSF_Click()
Unload Me
End Sub
************************************
This code is exactly the same (except for names) as my first user form to open another individual combobox, and it works perfectly fine. Is there maybe something i am not putting in due to the fact that i am maybe repeating something,
I would really appreciate any assitance or advise
Kind regards
Natural
(I am using Word 2003)
I was hoping someone could perhaps assist I am really overlooking something
I am currently creating a second userform (combobox) in my word document.
(Reason i am using the user form is due to the fact that I have more than 25 items listed in my combo box.)
I have A skills Selection part in my word doc
This Selction consist of a variety of 20 different fields to choose from
The bookmark name Start Skill 1 Thru to 20
I then created a userfrom wich will have 20 comboboxes on it, To fill bookmarks 1 -20
I have used the following code to upon clicking on bookmark one open my userform
and then select from the comoboxes but i just dont get any information in my dropdown at all
A module to open the form
**********************************
Sub gocombobox()
SkillForm.Show
End Sub
***************************************
Code on Combobox 1 (Skill1)
********************************************
Private Sub CmdSkills1_Change()
ActiveDocument.FormFields("Skill1").Result = CmdSkills1.Value
End Sub
Private Sub SkillForm_Initialize()
CmdSkills1.ColumnCount = 1
CmdSkills1.List() = Array("Eod", "Eod2", "etc", "etc1")
End Sub
Private Sub CmdCloseSF_Click()
Unload Me
End Sub
************************************
This code is exactly the same (except for names) as my first user form to open another individual combobox, and it works perfectly fine. Is there maybe something i am not putting in due to the fact that i am maybe repeating something,
I would really appreciate any assitance or advise
Kind regards
Natural
(I am using Word 2003)