Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all, I have items list in ListBox1 and I want macro on a button to
get that list in column A from Range A2 to down. Please can anyone can help |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Private Sub CommandButton1_Click() For i = 0 To UBound(ListBox1.List) ActiveSheet.Range("A" & i + 2) = Me.ListBox1.List(i) Next End Sub "K" wrote: Hi all, I have items list in ListBox1 and I want macro on a button to get that list in column A from Range A2 to down. Please can anyone can help |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Feb 23, 2:18*pm, JLGWhiz wrote:
Private Sub CommandButton1_Click() * * For i = 0 To UBound(ListBox1.List) * * * * *ActiveSheet.Range("A" & i + 2) = Me.ListBox1.List(i) * * Next End Sub "K" wrote: Hi all, *I have items list in ListBox1 and I want macro on a button to get that list in column A from Range A2 to down. *Please can anyone can help- Hide quoted text - - Show quoted text - Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Write a Listbox list to a dynamic range | Excel Programming | |||
Condensing a list/range with blank cells to a new list/range without blanks | Excel Worksheet Functions | |||
Listbox Add to list | Excel Programming | |||
Listbox "expand range as list grows" | Excel Programming | |||
listbox.value not equal to listbox.list(listbox.listindex,0) | Excel Programming |