Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Scenerio:
I have a workbook with 2 worksheets: Main and Filenmames. On the Main worksheet I have 2 Command Buttons and 1 ComboBox. Behind one command button ("Refresh Parts List and Create Hyperlinks") is code to search a directory of jpg files and fill column A in the Filenames worksheet with those filenames. Then in column B of the same Filenames worksheet, hyperlinks are created for each of the filenames. So, basically, this button just refreshes the filenames list and hyperlinks. The second command button ("List Parts") displays a form with a ListBox of the part numbers. However, I can populate the ListBox if I use the RowSource Properies, but I have to manually type in "Filenames!B1:B2588". I dont want to do it this way because the rows in the Filenames worksheet may be different as new part jpg files are added. So, my question is: How do I use VBA to define the dynamic variable RowSource property? Thank you for your help. -- Other programming languages I''ve used a Cobol, C++, Informix Database, and Unix. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ComboBox RowSource | Excel Programming | |||
Combobox rowsource | Excel Programming | |||
How do I set the rowsource for a ComboBox for a dynamic list? | Excel Programming | |||
How Do I Load A ComboBox RowSource From The Results Of Another ComboBox | Excel Programming | |||
combobox rowsource | Excel Programming |