+ Reply to Thread
Results 1 to 4 of 4

auto refresh on pivot table

  1. #1
    Forum Contributor
    Join Date
    10-30-2006
    MS-Off Ver
    O365
    Posts
    311

    auto refresh on pivot table

    Hi me again,

    i have an auto refresh code for a pivot table, but it only works if i use the tabs at the bottom, and not when i hyperlink to it. is there a way it will refresh when hyperlinked to the sheet?

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    The problem with the hyperlink not firing the worksheet_activate event was fixed in XL2002 but does not work in XL2000 ...

    HTH
    Carim

  3. #3
    Forum Contributor
    Join Date
    10-30-2006
    MS-Off Ver
    O365
    Posts
    311
    ok Carim, thanks anyway

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi again,

    To trap hyperlinking which does not fire worksheet_activate event, JimCone has found a solution ...

    In your workbook open event place something like this,
    for each desired sheet ...
    Please Login or Register  to view this content.
    In your workbook close event use code like this for every
    sheet listed above ...
    Please Login or Register  to view this content.
    DoThis and DoThat are the subs that run when the applicable
    sheet is activated/deactivated. Place those subs in a general module.
    Any of the sub names can be names you choose ...

    HTH
    Carim

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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