Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
I am trying to search within Excel VBA a value in a sheet dependant on the entry in another cell. But not sure how to put a paramater as the What part of the Find. Can anyone help please? i.e if cell A1 is Cat then I would search for Cat in the other sheet. Dim Animalname AnimalName = Combo1.Value Sheets("Animals").Select Cells.Find(What:=Animalname,After:=ActiveCell, LookIn:=xlFormulas, LookAt _ :=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _ False, SearchFormat:=False).Activate |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find & Replace: find part cell, replace whole cell | Excel Worksheet Functions | |||
I need to change hardcoded background color | Excel Worksheet Functions | |||
Find First Non blank cell than find column header and return that value | Excel Worksheet Functions | |||
Inserting "/G50" into hardcoded numbers | Excel Discussion (Misc queries) | |||
DSUM with Criteria containing non-hardcoded values? | Excel Worksheet Functions |