Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Try this:- Sub surface() Set myrange = Range("A2:A4000") For Each c In myrange c.Select If c.Value = "B5" Then MsgBox (" B5 found in " & ActiveCell.Address) End If Next End Sub Mike "raraschek" wrote: thanks for help: do you have any idea, how to find out, if a value (B5) IS in a range (A2:A4000)? I can´t sort these values, so I thought I can´t use any search function, and don´t have idea how to compile this code. thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup looks to the prior column if zero appears in the lookup col | Excel Discussion (Misc queries) | |||
LookUp Function with Two Column Search Returning One Column Value | Excel Worksheet Functions | |||
macro column lookup enter data in another column same row | Excel Programming | |||
lookup text in one column, count in another column | Excel Worksheet Functions | |||
Calculating totals in a column based on a lookup in another column | Excel Worksheet Functions |