View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Greg Glynn Greg Glynn is offline
external usenet poster
 
Posts: 137
Default Can Excel do 'lookups' and show different data depending upon thecell with the focus?

You wouldn't do it with a lookup() function.

You'd do it with a

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
End Sub

Detect the current cell address, and update the value of D1
accordingly.