+ Reply to Thread
Results 1 to 14 of 14

Hyperlinks in Pivot table.

  1. #1
    Registered User
    Join Date
    12-13-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    17

    Hyperlinks in Pivot table.

    Hi experts,

    Im trying to get Hyperlinks to work in Pivot table. I get it to work with A VBA, but i need it to work with hyperlinks that have had their name change.
    Does anyone have a solution for this or is this not possible..

    Thanks in advance!

  2. #2
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Hyperlinks in Pivot table.

    Hi Masken,

    Why do the links change their names?
    Remember you are unique, like everyone else

  3. #3
    Registered User
    Join Date
    12-13-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Hyperlinks in Pivot table.

    Hi,

    The hyperlinks do not change names, I change them my self, so for example a hyperlink for www.google.com will become "search".
    I can make hyperlinks to work if the name is www.google.com, but I can not get it to work if I change the name to "search". I have a Pivot table with lot of hyperlinks all with "changed" names.
    The hyperlinks in my table are links to documents in a database.

    Hope I cleared things

  4. #4
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Hyperlinks in Pivot table.

    Can you post the file so I can see what's happening?

    Thanks

  5. #5
    Registered User
    Join Date
    12-13-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Hyperlinks in Pivot table.

    Hi,

    I put an example here, its smaller and easy to understand than my original.

    You can see a table with hyperlinks that work, with names that are changed a names that are unchanged. In the Pivot table you see the same I also have VBA code that makes the Hyperlinks work in the Pivot table. Now I just need to get the links with their name changed to work.
    Attached Files Attached Files

  6. #6
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Hyperlinks in Pivot table.

    Hi Masken,

    I see you've already got the code inplace for the Hyperlinks to work inside the Pivot.

    From here, I think you'll need something like a Select Case statement to cover the different links.

    Hth

  7. #7
    Registered User
    Join Date
    12-13-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Hyperlinks in Pivot table.

    Hi noboffinme,

    Thank you, yes I was hoping someone already had this problem and had solution, Im not that experienced in VBA coding.

    But thanks for trying!

  8. #8
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Hyperlinks in Pivot table.

    You may adapt this code to your ranges:
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    12-13-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Hyperlinks in Pivot table.

    Hi Izandol,

    Nice, this works great, I can get it to work perfectly! If my pivot is on another sheet, I have to modify the range but cant get it to work, how should the code look if I have my table on sheet 2 and my pivot on sheet 1?
    Thanks for your help!!

  10. #10
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Hyperlinks in Pivot table.

    You must change:
    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    12-13-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Hyperlinks in Pivot table.

    Thank you!

    Saved me a lot of trouble! Now my sheet works great!

    Have a merry christmas!

  12. #12
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Hyperlinks in Pivot table.

    You are welcome. Merry Christmas!

  13. #13
    Registered User
    Join Date
    03-21-2014
    Location
    brussels, belgium
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Hyperlinks in Pivot table.

    I have a similar question.
    I have made a normal table where there are hyperlinks to other tabs of my excel file (so not to external internet websites)
    In the pivot table that is based on this table, I want to activate these hyperlinks. I have searched on the internet, but all the codes that are given are for external websites.

    Could you help me to give me advice on how to create a code to activite hyperlinks to other tabs in a pivot table?

    I created an excel to show what I want to create. So in the pivot table on the first tab, I want to have hyperlinks, if I click on "2010", I want to be directed to the tab "2010"

    Thank you in advance
    Attached Files Attached Files

  14. #14
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Hyperlinks in Pivot table.

    Hi helpmij,

    You need to start a new thread to get an answer, this is already marked 'SOLVED' so no-one will read your question.

+ 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. Hyperlinks in Pivot table.
    By Masken in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-13-2013, 09:40 AM
  2. web hyperlinks in pivot table
    By afgi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-21-2010, 01:02 PM
  3. how to create dynamic hyperlinks to a cell of a pivot table
    By ramonsojos in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-11-2010, 05:31 PM
  4. Pivot table result with hyperlinks
    By KouDy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-06-2007, 04:00 AM
  5. pivot table and hyperlinks
    By Gailc in forum Excel General
    Replies: 0
    Last Post: 06-21-2006, 03:55 PM

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