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

  • Problem in vba vlookup
    Dear All Master, The problem I mean is as follows : 1. I want to modify the vba code because it takes too long/very slow to vlookup in VBA code...
  • VBA Vlookup
    Please for help. Why it`s not works? [CODE=vba]Sub Check_equpment1_click() Worksheets("Production_program").Activate Dim ans1 As Integer ans1 =...
  • Nesting INDEX MATCH into SUMIFS
    I currently have several formulas pulling in a SUMIFS from a data sheet, beginning with =SUMIFS('datasheet'!$N:$N, 'datasheet..... but as I am...
  • Extracting number from a range randomly
    Hello Expert, please kindly advise what is the best method to extract numbers from a range randomly I have a series of numbers in the range of A1...
  • Problem with If Formula
    I am using the following formula in cell A5. I would like if N5 is blank then A5 also return blank. If N5 is 0 or is greater than zero then equals...
  • Is there a way to make the day's name show up automatically in a header?
    I have a form I print out every day..and in the top right custom header I have the &[DATE], which automatically gives the current date in top...
Top