This Excel tip is in response to a comment on one of my blog posts from 'Harry'. He had created a Table Of Contents (TOC) using the method below.
- SAVE YOUR WORKBOOK
- Select the cell you want to LINK TO
- Point to the cell border, and right click with the mouse.
- Press the ALT key and and drag the cells to the TOC area
- Once the destination sheet has been activated you can then drag the cells to position you want the hyperlink to be on the TOC area
- Release the ALT key and when the pop up menu appears, select "Create Hyperlink Here"
So that is straightforward enough, but what happened when Harry has added new columns or rows, the references then became invalid and the links are broken!!
One easy solution to this is to name the cell or cells your are hyperlinking to as a Named Range.
The benefit of using a named range is when the contents of a cell are moved for example when adding columns or rows, the named range does not change. Handy.
In my example below (dont forget to download the example workbook to take a closer look at the examples), I have 3 Report areas, 1, 2 and 3. Both 1 and 2 have named ranges for their hyperlinks and 3 does not. The Names can be views in Name Manager.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.