Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a combobox that is being populated from the contents of a
different worksheet in the same workbook. The problem is that it is taking over 10 seconds to run - it only runs once during the workbook_open event. Here is the code: ================================================== ======== Private Sub GeoComboBoxInit(GeoCombo As ComboBox) Dim i As Integer Dim ws As Worksheet Dim wb As Workbook Set wb = Workbooks(1) Set ws = wb.Sheets("GeoTier") For i = 2 To 24183 GeoCombo.AddItem ws.Cells(i, 3) Next i End Sub ================================================== ============= In a future release I will get the data from a local MS Access database. How can I speed up the current loading of this combobox? TIA mark markm-at-visionsw.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with: ListBox1.AddItem (ws.Name) | Excel Worksheet Functions | |||
AddItem Method | Excel Programming | |||
Please help with AddItem method | Excel Programming | |||
.additem | Excel Programming | |||
additem listbox | Excel Programming |