+ Reply to Thread
Results 1 to 2 of 2

Pivot table and Pivot Chart - Run time error 5

  1. #1
    Forum Contributor
    Join Date
    04-03-2011
    Location
    India
    MS-Off Ver
    Excel 2015
    Posts
    122

    Angry Pivot table and Pivot Chart - Run time error 5

    Hi,

    I have recorded a macro for pivot table with chart and if i run for 2nd time .. a error come as run time 5

    Due to change in dynamic reference... please help out in modifying the vba code for the same,.

    Please help asap.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474

    Re: Pivot table and Pivot Chart - Run time error 5

    Try something like this...

    Please Login or Register  to view this content.
    Actually, instead of scaling the width and height, you can specify the exact location and size of the chart. For example, to position the chart so that the top left cell is F4, and set its width and height to 525 and 275, respectively, try...

    Please Login or Register  to view this content.

+ 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