Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to compare the values of cells in a range, without actually selecting
the range. If so, what is the proper syntax? BTW, the sheet that the range is on is hidden. Private Function fnCompCells(rng as Range) as String For each cell in rng Dim myValue as string If cell.value ..... 'insert some comparison code here endif Next fnCompCells = myValue End -- Don''t forget to rate the post if it was helpful! email address is invalid Please reply to newsgroup only. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find duplicate values in column K then compare cells range of dups | Excel Programming | |||
How do I compare a result to a range of values? | Excel Worksheet Functions | |||
Compare alpha and numeric values within a range | Excel Worksheet Functions | |||
Compare a selected Range with a Named range and select cells that do not exist | Excel Programming |