![]() |
populate listbox?
I want to insert values from cells A1:A15 in listbox. A2,a5 and a10 are
empty and I don't want dem in my listbox. So how to populate listbox without empty cells? |
populate listbox?
Hi Alen32,
Try this: Private Sub UserForm_Initialize() For Each c In ActiveSheet.[A1:A15] If c < "" Then ComboBox1.AddItem c Next c End Sub Regards, KL "Alen32" wrote in message lkaboutsoftware.com... I want to insert values from cells A1:A15 in listbox. A2,a5 and a10 are empty and I don't want dem in my listbox. So how to populate listbox without empty cells? |
populate listbox?
thanks!!
|
All times are GMT +1. The time now is 07:10 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com