Ken,
Use a hyperlink in a cell:
=HYPERLINK("[book6.xls]Sheet1!" & K1,"A")
If you sheet name has spaces in it, then you need
=HYPERLINK("[book 6.xls]'Sheet 1'!" & K1,"A")
Change the book6.xls to the workbook name, the Sheet1 to the sheet name, and K1 to the cell with the
address that you want to jump to. And change the A to whatever label you want.
HTH,
Bernie
MS Excel MVP
> Thanks Bernie,
> You put me on the right track, I have some work to do, since I simplified my
[quoted text clipped - 40 lines]
>> > jump from the 26 graphics labeled A to Z to the proper cells address which
>> > are contained in K1 to K26.
KenInPortland - 11 Feb 2008 21:06 GMT
Thanks Bernie,
Using a cell per hyperlink is not an option (too many links not enough cells
of the appropriate size), so I bit the bullet and used the macro approach you
described below and it works great. Here is my code which compares the first
5 chars of the buttons to column J and jumps to the corresponding K column
location. We'll see how the users react to recieving a macro.
Thanks so much, I never would have found the answer elsewhere.
Ken
> Ken,
>
[quoted text clipped - 57 lines]
> >> > jump from the 26 graphics labeled A to Z to the proper cells address which
> >> > are contained in K1 to K26.
KenInPortland - 11 Feb 2008 21:10 GMT
Here is the code,
Sub WhoRang()
Dim ButtonLabel As String
Dim First6chars As String
Dim RowNum As String
' This subroutine is attached to each graphic box
ButtonLabel = Application.Caller
' Get the first six characters of the ButtonLabel
First6chars =
Left(ActiveSheet.Shapes(ButtonLabel).TextFrame.Characters.Text, 6)
' Use the first six characters to match column J
RowNum = Range("J1:J32").Find(What:=First6chars).Row
' Use the resulting RowNum to get the Range of cells from column K to Go to
Application.Goto Range(Range("K" & RowNum).Value)
'Debug.Print ButtonLabel, First6chars, RowNum
End Sub
> Ken,
>
[quoted text clipped - 57 lines]
> >> > jump from the 26 graphics labeled A to Z to the proper cells address which
> >> > are contained in K1 to K26.