Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Why are you using Find and VlookUp?
You can do basically everying VLookup does using Find and a lot more besides. It's also a little easier to check to see if something is found. Set rngFnd = rngSearchRange(What:=rngLookFor.Value...) If rngFnd Is Nothing Then ' nothing found Msgbox rngLookFor.Value & " is not found in range " & rngSearch.Address Else Msgbox rngLookFor.Value & " found in row " & rngFnd.Row ' equivalent of MATCH worksheet function Msgbox "Value 3 columns to right of " & rngLookForValue & " is " & rngFnd.Offset(,3) ' VLOOKUP End if |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find a Specific Column | Excel Programming | |||
Find specific column titles and copy the column to new workboo | Excel Programming | |||
Find specific column titles and copy the column to new workboo | Excel Programming | |||
Find specific worksheet in another workbook and then applu Vlookup | Excel Worksheet Functions | |||
find a specific value in a column and write another column | Excel Discussion (Misc queries) |