Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is this something that you want ... ? This initialises a 2 column lis
box :- '- initialise form Private Sub UserForm_Initialize() Set DataSheet = ThisWorkbook.Worksheets("data") Set MyList = DataSheet.Range("FileList") Rw = 1 FileListBox.Clear While MyList.Cells(Rw, 1).Value < "" FileListBox.AddItem FileListBox.List(Rw - 1, 0) = MyList.Cells(Rw, 1).Value FileListBox.List(Rw - 1, 1) = MyList.Cells(Rw, 2).Value Rw = Rw + 1 Wend End Su -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Transfer a name from one cell to another but leave clear if clear? | Excel Worksheet Functions | |||
clear the clear the web page email attachment lines | Excel Discussion (Misc queries) | |||
listbox B conditional of input in Listbox A | Excel Discussion (Misc queries) | |||
listbox.value not equal to listbox.list(listbox.listindex,0) | Excel Programming | |||
Is refreshing listbox rowsource in listbox click event possible? | Excel Programming |