ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Listbox lists (https://www.excelbanter.com/excel-programming/271429-listbox-lists.html)

Bob[_21_]

Listbox lists
 
Does anyone know how to ask a listbox to exclude blank
cells from the end of a coloumn list. I've tried using:

i = Worksheets("Sheet1").UsedRange.Rows.Count
UserForm1.ListBox1.RowSource = Worksheets("Sheet1").Range
("A1:A" & i)

Thanks, Bob


All times are GMT +1. The time now is 12:00 AM.

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