Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear Rescue Team,
This code has been working perfectly well : Set rngColumnToSearch = ActiveSheet.Range("C2:C500") Set rngRowToSearch = ActiveSheet.Range("a2:IV2") Set rngColumnFound = rngColumnToSearch.Find(What:=name, LookIn:=xlValues) Set rngRowFound = rngRowToSearch.Find(What:=dt, LookIn:=xlValues) finding name in rngColumnToSearch and dt in rngRowToSearch. I have been re-writing some code (but not this) and now this section won't find a matching dt when the date is staring me in the face! The tooltip in debug mode says that rngRowFound is Nothing! As I said, I have columns of earlier data to prove it used to work. Dates appear to be in same format... what could be the problem?? Thanks in anxious anticipation, Matilda |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
need to return next match of table, only finding first match...HEL | Excel Worksheet Functions | |||
Match data to find intersection | Excel Programming | |||
Finding a match | Excel Discussion (Misc queries) | |||
Finding a match | Excel Programming | |||
Finding intersection of row and column (both variable) in table | Excel Worksheet Functions |