#1   Report Post  
Gman1959
 
Posts: n/a
Default combo box

read the article 'WD2000:How to create combo box with more than 25 items
[Q198561]' which helped tremendously, but I couldn't find anything in the
article that explains how to actually populate the box. Obviously I missed
something. Any help would be appreciated. Using Word 97.
  #2   Report Post  
Doug Robbins
 
Posts: n/a
Default

The code in this section of the article is what populates the combo box:

Quote

On the Insert menu, click UserForm. A new UserForm and the Controls
toolbox appear. Right-click the UserForm, and then click View Code. Add the
following code
Private Sub UserForm_Initialize()

ComboBox1.ColumnCount = 1

'Load data into ComboBox

ComboBox1.List() = Array("Zero", "One", "Two", "Three")

End Suband then close the code window.


Unquote

As this work around makes use of a UserForm, you should consider whether or
not that is what you should be using in the first place.

See the article "How to create a Userform" at:

http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm


--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
"Gman1959" wrote in message
...
read the article 'WD2000:How to create combo box with more than 25 items
[Q198561]' which helped tremendously, but I couldn't find anything in the
article that explains how to actually populate the box. Obviously I
missed
something. Any help would be appreciated. Using Word 97.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quotation letter automation Srdjan New Users 2 November 25th 04 03:41 PM


All times are GMT +1. The time now is 10:32 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"