Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2005

Tip: Looking for answers? Try searching our database.

Add new item to Array

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Deb - 19 Apr 2005 20:11 GMT
I am a newbie with a question about my form.  I populate my combobox
using this code;

cmboBusGroup.List() = Array("Brecksville", "Chicago", "Ritterhude")

What do I need to add so that in the future the user can add to the
list themself?  For example, if the user wants to add "London" I would
like to have the user click a button (or something) to "Add BusGroup"
and add "London" without having to call me to add it in the code.

How do I do this?

Thank you!
Debbie
Anand.V.V.N - 25 Apr 2005 12:21 GMT
Hi Deb,

You can use a text file to store your entries, pick the entiers from the
text file and add it to the combobox. In the combobox you can add a item "New
item", when the user selects this you can prompt the user to input the name,
and then store the entry in a text file.

Need any help in code let me know.
Anand
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.