Consulting

Results 1 to 5 of 5

Thread: Refresh Pivots w/ Remote Data

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Regular
    Joined
    Jun 2004
    Location
    Denmark
    Posts
    58
    Location
    if you are able to refresh manually, the code should work.
    If the name isn't correct it will fail. Try this instead, if you're not sure about the name.
    Please change range("A3") to a cell inside you pivottable.


    Private Sub Worksheet_Activate()
        ActiveSheet.Range("A3").PivotTable.RefreshTable
    End Sub
    br
    Tommy Bak
    Last edited by Aussiebear; 04-29-2023 at 07:27 PM. Reason: Adjusted the code tags

Posting Permissions

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