Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Mark wrote:
The difficulty is that I have this procedure evaluating a number of columns, some have dates, others do not... how can I have items that were originally dates return as dates. in that case, you don't have to use the match function for a vb array. for example, Dim UniqueList() As Variant Dim cell_value As Variant Dim i As Long '... For Each cCell In rng cell_value = cCell.Value If Not IsError(cell_value) Then If cell_value < "" Then For i = 0 To counter - 1 If UniqueList(i) = cell_value Then Exit For Next If i counter - 1 Then ReDim Preserve UniqueList(0 To counter) UniqueList(counter) = cell_value counter = counter + 1 End If End If End If Next cCell -- HTH, okaizawa |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count unique dates within each unique ID | Excel Worksheet Functions | |||
Identifying unique dates in a row of cells containing dates... | Excel Discussion (Misc queries) | |||
Identifying unique dates in a range of cells containing dates... | Excel Discussion (Misc queries) | |||
Identifying unique dates within a range of cells containing dates | Excel Discussion (Misc queries) | |||
Trouble with dates...... | Excel Worksheet Functions |