R
rob nobel
The following bit of code populates a UserForm. I would like that none of
the blank rows in C5
14 be shown in the uf. (The cells in column D will
always be blank if the corresponding row in column C is blank.)
Q1. Can anyone suggest how I might achieve this?
Q2. Is it possible to also have another range, namely ("C21
25") added to
the list box so that the list box is populated by ("C21
25") and ("C5
14")
without any blank rows showing? I have generally used PivotTables to sort
the ranges and eliminate blanks, but I wonder if there is a better way.
If ActiveCell = Sheet7.Range("E24").Value Then
ufSpecialProjects.ListBox1.List _
= Sheet14.Range("C5
14").Resize(, 2).Value
ufSpecialProjects.Show
the blank rows in C5

always be blank if the corresponding row in column C is blank.)
Q1. Can anyone suggest how I might achieve this?
Q2. Is it possible to also have another range, namely ("C21

the list box so that the list box is populated by ("C21


without any blank rows showing? I have generally used PivotTables to sort
the ranges and eliminate blanks, but I wonder if there is a better way.
If ActiveCell = Sheet7.Range("E24").Value Then
ufSpecialProjects.ListBox1.List _
= Sheet14.Range("C5

ufSpecialProjects.Show