Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to find a value and then select the cell found.
the following does not work because of "range(res).select" any idea? Thanks (I am not using the Find function because the range "table" includes functions) Dim res As Variant Dim table As Range Dim myVal As Range Set myVal = Range("LastQTR") Set table = Range("table") res = Application.HLookup(myVal, table, 2, False) If IsError(res) Then MsgBox "not found" Else range(res).select End If -- caroline |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA: Column Select then Data Select then return to cell A1 | Excel Discussion (Misc queries) | |||
Vlookup+ Select Next Earliest Value (Array formula?) | Excel Worksheet Functions | |||
Using formulas to select cells (Ex: Select every nth cell in a col | Excel Discussion (Misc queries) | |||
Select Range found by Vlookup | Excel Programming | |||
VLOOKUP? Need to have value returned when select from drop-down list | Excel Worksheet Functions |