+ Reply to Thread
Results 1 to 3 of 3

Error 400 when using hyperlinks in Pivot Tables

  1. #1
    Registered User
    Join Date
    02-06-2015
    Location
    Bollington
    MS-Off Ver
    2010
    Posts
    10

    Error 400 when using hyperlinks in Pivot Tables

    Hi There,

    I've used the below piece of code which allows hyperlinks in PivotTable fields to be "clickable".

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In addition, I also have a button with a macro attached to it that simply alternates a couple of fields that are used within the same PivotTable (code not provided).

    Everything works as expected when I click my button and then click the hyperlinks within the PivotTable field. However, if for some reason I select a field in the PivotTable before clicking my button, I get the dreaded "400" error message!

    I'm unsure what causes this error, but from the debugging I've done thus far, I'm convinced it's something to do with the above code rather than my other macro.

    Any thoughts on this?

    Thanks in advance.
    Rob.

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Error 400 when using hyperlinks in Pivot Tables

    You can narrow down the error by stepping through the code one line at a time by:

    Place the cursor at the top of the macro ... press F8. When the error occurs, the line involved should be highlighted in yellow.

  3. #3
    Registered User
    Join Date
    02-06-2015
    Location
    Bollington
    MS-Off Ver
    2010
    Posts
    10

    Re: Error 400 when using hyperlinks in Pivot Tables

    Unfortunately, this does not work with this code - presumably as it runs on every cell click.

    Thanks,
    Rob.

+ 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. Interactive Graph with Rollover Hyperlinks and UDFs - Pivot Tables
    By ronkeakano in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-17-2017, 02:08 PM
  2. Request for Help: Hyperlinks in Pivot Tables
    By oboegal21 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-15-2015, 01:36 PM
  3. Replies: 0
    Last Post: 04-16-2009, 06:21 AM
  4. [SOLVED] why do hyperlinks not get carried over to pivot tables?
    By Evans in forum Excel General
    Replies: 0
    Last Post: 07-27-2006, 10:25 AM
  5. [SOLVED] why do hyperlinks not get carried over to pivot tables?
    By Evans in forum Excel General
    Replies: 0
    Last Post: 07-27-2006, 10:20 AM
  6. [SOLVED] why do hyperlinks not get carried over to pivot tables?
    By Evans in forum Excel General
    Replies: 0
    Last Post: 07-27-2006, 10:15 AM
  7. [SOLVED] why do hyperlinks not get carried over to pivot tables?
    By Evans in forum Excel General
    Replies: 0
    Last Post: 07-27-2006, 10:10 AM

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