Hi, Wild_Weisle!
First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.
As a starting point I'd recommend you to read the three first green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).
Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.
Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.
And about your question...
Give a look to this file:
https://dl.dropbox.com/u/60558749/VBA%20to%20activate%20pop-up%20w_%20data%20from%20within%20a%20worksheet%20when%20clicking%20on%20a%20cell%20%28for%20Wild_Weisle%20at%20chandoo.org%29.xlsm
There are three named ranges defined (TriggerRange, DisplayRange1 and DisplayRange2) in sheet OCT, and the involved code for the Worksheet_Change event is this:
-----
[pre]
Code:
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
' constants
Const ksTriggerRange = "TriggerRange"
Const ksDisplayRange1 = "DisplayRange1"
Const ksDisplayRange2 = "DisplayRange2"
' declarations
Dim rngT As Range, rngD1 As Range, rngD2 As Range
Dim c As Range, A As String
' start
Set rngT = Range(ksTriggerRange)
If Application.Intersect(Target, Range(ksTriggerRange)) Is Nothing Then Exit Sub
Set rngD1 = Range(ksDisplayRange1)
Set rngD2 = Range(ksDisplayRange2)
' process
' retrieve data
A = ""
' first range
A = A & vbCrLf
A = A & "Data in range: " & rngD1.Address(False, False, xlA1) & vbCrLf
For Each c In rngD1
A = A & c.Value & vbCrLf
Next c
' second range
A = A & vbCrLf
A = A & "Data in range: " & rngD2.Address(False, False, xlA1) & vbCrLf
For Each c In rngD2
A = A & c.Value & vbCrLf
Next c
' show data
MsgBox A, vbApplicationModal + vbDefaultButton1 + vbInformation, "Data found"
' end
Set rngT = Nothing
Set rngD1 = Nothing
Set rngD2 = Nothing
End Sub
[/pre]
-----
Give a try and just advise if any issue.
Regards!