+ Reply to Thread
Results 1 to 4 of 4

Formatting Links

  1. #1
    Registered User
    Join Date
    02-13-2019
    Location
    Kingston, Canada
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    5

    Formatting Links

    Hello everyone!

    I was wondering if there was a better way to format my links. I have a list of contacts with relevant info for each and have made "buttons" for each one linking to its position in the list. If I choose to link to the cell where the title is or the defined name, the link brings me to where the title is visible on the very bottom of the sheet. As a workaround I've selected a a cell that's further down so that my link brings the info to the top of the screen, but if I need to insert or add information in the future the links will no longer work since they're referencing an arbitrary cell as opposed to title itself.

    Clicking the "STAPLES" button here:

    1.PNG

    Will link to here:

    2.PNG

    With the STAPLES title on the bottom if I link to that cell or the defined name as opposed to here:

    3.PNG

    Where I want it to go.

    Any suggestions?
    Attached Images Attached Images
    Last edited by Vregnant; 08-19-2019 at 04:30 PM.

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Formatting Links

    You can do this by changing your defined Names which you use to link to. Once you've made a Defined Name for each link, go to 'Name Manager' on the 'Formulas' tab and change the references to use Offset.
    For example, change '=Sheet1!$B$22' to '=OFFSET(Sheet1!$B$22,4,1)' to make the link now go to C26.
    Does that help?
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Registered User
    Join Date
    02-13-2019
    Location
    Kingston, Canada
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    5

    Re: Formatting Links

    For some reason when I change the formula in the Name Manager I am no longer able to link to it.

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Formatting Links

    I just did some more testing and it's a bit tricky. You need to make the link before you change the formula in Name Manager and you can't change the 'name' of the Defined Name or the link will fail.
    So, it's something like this:
    1. Make a defined name for each title cell (for example, 'DN_Staples' referring to $B$22).
    2. Go to each cell where you want links and make the hyperlink to the 'Defined Name' you made for each.
    3. Go to Name Manager. Select the Def.Name you want to change. Do not click 'Edit' but just use the 'Refers to' box at the bottom. Change the reference from (for example) =$B$22 to (for example) =OFFSET($B$22,2,1).
    4. Repeat as needed.

    If you change the 'name' of a Def.Name, the link won't work anymore and you can't remake it as the amended Def.Name will no longer appear in the list when you try to Insert/Edit Hyperlink. The only way round is to remove both the link and the old Def.Name then repeat the above process.

    Because this is so long-winded, I don't know if it's really a good solution for you, sorry.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 05-19-2017, 03:28 PM
  2. [SOLVED] Conditional formatting with links to info on different sheets
    By DaGoose in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-21-2015, 09:26 AM
  3. conditional formatting links
    By Newbie in forum Excel General
    Replies: 8
    Last Post: 05-23-2006, 04:20 AM
  4. Replies: 1
    Last Post: 01-24-2006, 07:35 PM
  5. Formatting numbers within combined links
    By Jonibenj in forum Excel General
    Replies: 3
    Last Post: 08-21-2005, 07:21 PM
  6. Remove Links - Keep Formatting?
    By deversole in forum Excel General
    Replies: 0
    Last Post: 04-29-2005, 06:09 PM
  7. Formatting mixed text and links
    By Jonibenj in forum Excel General
    Replies: 3
    Last Post: 03-28-2005, 05:33 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1