Lookup from hyper link

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
How are your hyperlinks set up? What are the name of your "sheets"? are the Sheet1, Sheet2? or different names?
 
Upvote 0
Here is a quick UDF (User Defined Function), that might at least point you in the right direction. This must be placed in a module:

Code:
Function HyperLinkValue(rngText As Range) As String


   Dim strSubAdd As String
   
   If rngText.Hyperlinks.Count = 0 Then
      Exit Function
   End If
   
   strSubAdd = rngText.Hyperlinks(1).SubAddress
   HyperLinkValue = Range(strSubAdd)
   
End Function

To use, the Hyperlink must point to the cell that has the data... (I am currently working on getting this to not so much be the case) and you would just use:

Code:
 = HyperLinkValue(A2)
 
Upvote 0
I used a Macro to collect all the names of my worksheets and combined them into a list. But now I want to pull data from the work sheets without having to go into each one and retrieve it
 
Upvote 0

Forum statistics

Threads
1,215,912
Messages
6,127,685
Members
449,398
Latest member
m_a_advisoryforall

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top