Select an intersection of a row and column and populate the result on a different sheet.

I have a decision matrix (all text) on sheet2 which I want to hyperlink from sheet1.  When the user arrives at sheet2 and determines which cell to select based on column and row headings, they should click on the resulting intersection and that value (text) should populate a cell on sheet1.
swpa_wntAsked:
Who is Participating?
 
dlmilleCommented:
Something like this?  See attached and click on yellow matrix in sheet 2 to see result in sheet 1

here's the code in Sheet 2's codepage:
 
Option Explicit

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

    If Target.Count > 1 Then Exit Sub
    
    If Not Intersect(Target, Range("F4:I7")) Is Nothing Then
        Sheet1.Range("A1").Value = Target.Value
    End If
    
End Sub

Open in new window

selectMatrixValuetoSht1-r1.xls
0
 
swpa_wntAuthor Commented:
This person is fantastic!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.