close
Is there a way to rewrite a vlookup based on activecell?
=VLOOKUP(quot;activecellquot;,Sheet1!A:B,2,FALSE)
where in it picks up value from the active cell?
Right click on your worksheet and put something like this:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Range(quot;A1quot;) = ActiveCell.Value
End Sub
change A1 to any blank cell and refer to that cell in your formula.
HTH
JG--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: www.excelforum.com/member.php...foamp;userid=6261
View this thread: www.excelforum.com/showthread...hreadid=495494
全站熱搜
留言列表

