|
-
May 23rd, 2004, 08:46 AM
#1
Thread Starter
New Member
Simple Combo Box Query
Having much trouble acheiving simple population of Combo Box in Word:
Open word, switch to design mode, add Combo box. Add code:
Private Sub Document_Open()
ComboBox1.Clear
ComboBox1.AddItem "A"
ComboBox1.AddItem "B"
ComboBox1.AddItem "C"
End Sub
I then press the 'design mode' button again (to come out of editing) and save.
Upon re-opening the document I am always dropped right back into design mode and the combobox is empty .
Why am I always dumped back into design mode, the finished doc should just appear as a normal operational doc?! Why is the combo box still empty?!
Ive copied a number of guides but just cant find out where Im going wrong .
Many thanks for any tips!
Jez
Edit: Ive just tried saving the file as read only, but the doc still comes up in design mode and it lets you modify the doc at will...?
Last edited by Jezza101; May 23rd, 2004 at 09:10 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|