pivot vba

  1. M

    Change value fields in Pivot using VBA

    Hi, I hope someone can help me, regarding change value fields in a pivot using VBA coding. I total I have 4 different fields that I want to users to be able to switch between, Units, Value in EUR, Value in USD and Value in DKK via dedicated buttons. Now here is the problem. Regardless of which...
  2. S

    Select dynamic entries in pivot row fields

    I have to select 2 entries in the pivot row range using vba. Once selected, the entries would need to be grouped and renamed. Can you please help me out with the code? enter image description here The entries which need to be grouped first need to be searched within the row range, and if found...
  3. D

    Pivot table field name is not valid

    Hello folks, I am trying to run a pivot table with the folowing code. The first part runs good, the problem is in the second part where I try to create another pivot table in a new sheet. It throws me an error saying Pivot table field name is not valid (Run time error 1004). The highlighted...
  4. T

    Change row label in Pivot Table with VBA

    I have a pivot table with two row labels (that appear as columns) How can I in VBA change the "Row Label" name "Manufacturer" to another name that exists in the Fields list, say, "Country" I'm thinking I don't want to just delete the field if I can avoid it because I have this need in...
  5. T

    Hiding Row Fields pivot Table VBA 400 error

    Hi, I've used some code with the macro recorder to hide certain elements of a particular row field. But when trying to use it on a similar set of data it will return a 400 error when it tries to hide a field that is not there. Is there a way to change the code so it will hide if it IS there...

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top