How about adding another helper cell (column C???) and using a formula like:
=HYPERLINK("#'"&A8&"'!lastcell","clickme")
(in C8)
And to add the LastCell names to all the worksheets -- except the Index
worksheet (I used "Index" for that name), you could run a small macro:
Option Explicit
Sub testme01()
Dim wks As Worksheet
For Each wks In ActiveWorkbook.Worksheets
If wks.Name = Worksheets("Index").Name Then
'do nothing
Else
wks.Names.Add Name:="LastCell", _
RefersTo:="=OFFSET('" & wks.Name _
& "'!$a$1,COUNTA('" & wks.Name & "'!$a:$a)-1,0)"
End If
Next wks
End Sub
And if you're working with names a lot (and you are now!), do yourself a big
favor and download:
Jan Karel Pieterse's (with Charles Williams and Matthew Henson) Name Manager.
You can find it at:
NameManager.Zip from
http://www.bmsltd.ie/mvp
If you're new to macros, you may want to read David's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
Notice that I didn't use the original formula in my hyperlink:
=HYPERLINK("#"&CELL("address",Sheet1!lastcell),"clickme")
By using &cell() stuff, this formula reacts very nicely when you change the name
of the worksheet. But I'm betting that your worksheets don't change names (else
your formula in B breaks, too).