N
Nirmal Singh
I have a User Defined Function which takes a Range as an argument.
It processes the range as follows
For RowNumber = 1 To DateRange.Rows.Count
DateFrom = DateRange.Cells(RowNumber, 1).Value
DateTo = DateRange.Cells(RowNumber, 2).Value
......(Further Processing)
Next RowNumber
This works fine for a range such as "C23
50".
How can I cater for the user entering a column range such as "C
"? In this
case I would want to loop down column C while it had valid data.
Nirmal
It processes the range as follows
For RowNumber = 1 To DateRange.Rows.Count
DateFrom = DateRange.Cells(RowNumber, 1).Value
DateTo = DateRange.Cells(RowNumber, 2).Value
......(Further Processing)
Next RowNumber
This works fine for a range such as "C23

How can I cater for the user entering a column range such as "C

case I would want to loop down column C while it had valid data.
Nirmal