Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
create entries on a listbox on a form
Hi,
I'd like to get a list of towns on a listbox automatically. for example, paris, milan, new york. Any help would be appreciated. Thanks in advance GRd |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
create entries on a listbox on a form
Here is some code that runs off the form initialize event. Load the form and
the listbox is populated... Private Sub UserForm_Initialize() With ListBox1 .AddItem "Paris" .AddItem "Rome" .AddItem "Milan" End With End Sub If you wanted something more specific just ask... HTH "Grd" wrote: Hi, I'd like to get a list of towns on a listbox automatically. for example, paris, milan, new york. Any help would be appreciated. Thanks in advance GRd |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to filter listbox data in a form? | Excel Discussion (Misc queries) | |||
How do I return the unique entries from a column to a listbox | Excel Worksheet Functions | |||
listbox option in form | Excel Programming | |||
User form with a listbox | Excel Programming | |||
Listbox/Form question | Excel Programming |