Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Using VBA, I need to take the value of one cell, find it in a range of cells and return the row number it is found on. Is there a function that will do this? I thought if might be Match but it is erroring out as a type mismatch. Isn't the row number treated as a number? Dim PoolChoice as Long PoolChoice = Application.Match(Tablespg.Cells(Choice, 24), Tablespg.Range("CAMPoolTypes"), 0) -- Thanks for your help. Karen53 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Return date if in range, else return blank | Excel Worksheet Functions | |||
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null | Excel Discussion (Misc queries) | |||
LOOKUP and return the column heading for IF/THEN return for False | Excel Discussion (Misc queries) | |||
check if reference exists, then return its value or return 0 | Excel Worksheet Functions | |||
VBA Syntax for VLOOKUP to return array of return values | Excel Programming |