ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   List Listbox data in column (https://www.excelbanter.com/excel-programming/440731-list-listbox-data-column.html)

K[_2_]

List Listbox data in column
 
Hi all, How can i list all data of a Listbox in a cloumn

Gary Brown[_5_]

List Listbox data in column
 
Dim i As Double
On Error Resume Next
For i = 0 To Me.ListBox1.ListCount
Application.ActiveCell.Offset(i, 0).Value = _
Me.ListBox1.List(i)
Next i

--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"K" wrote:

Hi all, How can i list all data of a Listbox in a cloumn
.



All times are GMT +1. The time now is 10:38 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com