Selecting a set of codes for Pivot table (Values) using VBA

  • Hi Everyone,


    I am using VBA to create a pivot table so far I automated the row labels to adjust but I am having trouble automating values to be added without manually going in and making the changes..
    This is probably a simple fix but I am still relatively new to VBA..
    Any help would be well appreciated


  • Re: Selecting a set of codes for Pivot table (Values) using VBA


    hope this helps




  • Re: Selecting a set of codes for Pivot table (Values) using VBA


    It works great !


    Thank you soo much I appreciate it!


    -
    Mores

  • Re: Selecting a set of codes for Pivot table (Values) using VBA


    I am actually getting an error on the following line
    because not all codes are on each report maybe error handling if value is not there check the next
    Sorry I know the logic I just cant implement it..


  • Re: Selecting a set of codes for Pivot table (Values) using VBA


    Solved :)



Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!