N
Nalij
Thanks in advance to anyone offering assistance/suggestions to thi
problem
Background: I am trying to embed the find function within my hyperlin
destination address. Since I need to keep the code dynamic because th
location of my information is always changing. I have a worksheet setu
with a number of tables and headers. I have created a table o
hyperlinks to easily access them, however, I cannot get the vba code t
work
Situation: Each header is unique, therefore, I need to combine a searc
function into the standard hyperlink vba
Approach: In a nutshell, I want to be able to use find (or a variatio
of find) to locate my destination cell (which is a unique value), the
pass the location (i.e.: B79) of the destination cell back to th
hyperlink code within the sub-address section
Here is how I have the VBA links structured
Code
-------------------
Range("G6").Select ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:= _ "'Executive Summary - Charts'!A10"
-------------------
I need to somehow combine the anchor with the find function
Code
-------------------
Cells.Find(What:="All Data, Vendor 1", After:=ActiveCell, LookIn:= _ xlFormulas, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:= _ xlNext, MatchCase:=False, SearchFormat:=False).Activate
-------------------
So that it would ultimately read something like
Code
problem
Background: I am trying to embed the find function within my hyperlin
destination address. Since I need to keep the code dynamic because th
location of my information is always changing. I have a worksheet setu
with a number of tables and headers. I have created a table o
hyperlinks to easily access them, however, I cannot get the vba code t
work
Situation: Each header is unique, therefore, I need to combine a searc
function into the standard hyperlink vba
Approach: In a nutshell, I want to be able to use find (or a variatio
of find) to locate my destination cell (which is a unique value), the
pass the location (i.e.: B79) of the destination cell back to th
hyperlink code within the sub-address section
Here is how I have the VBA links structured
Code
-------------------
Range("G6").Select ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:= _ "'Executive Summary - Charts'!A10"
-------------------
I need to somehow combine the anchor with the find function
Code
-------------------
Cells.Find(What:="All Data, Vendor 1", After:=ActiveCell, LookIn:= _ xlFormulas, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:= _ xlNext, MatchCase:=False, SearchFormat:=False).Activate
-------------------
So that it would ultimately read something like
Code