Automate Excel Pivot Table with VBA | Create A Pivot Table | Lesson 1

Поділитися
Вставка
  • Опубліковано 16 вер 2024

КОМЕНТАРІ • 22

  • @stewartalexander158
    @stewartalexander158 2 роки тому +2

    I absolutely love that you use big data sets in your videos.

  • @dubsed
    @dubsed 2 роки тому +2

    Thank you! I often figure stuff out myself by recording a macro and watching how Excel builds it. Unfortunately, I kept getting errors using the ws.PivotTables.Add method that macro used. This tutorial helped a lot! Thank you!

  • @patrickwheeler1979
    @patrickwheeler1979 Рік тому

    Jie this was absolutely fantastic! SOOOOO helpful, I learned a ton!

  • @gopijanjanam985
    @gopijanjanam985 2 роки тому

    Thank God, I found this tutorial, thanks man you really did a great job

  • @pearsonyam4052
    @pearsonyam4052 2 роки тому

    great stuff - been teaching myself vba over the past year and couldn't find a decent video on pivot tables until yours. subscribed.

    • @jiejenn
      @jiejenn  2 роки тому

      Thanks for subscribing. And glad my video helped.

  • @jackfish1983
    @jackfish1983 2 роки тому

    Super useful!! thanks!

  • @optimalbinary4183
    @optimalbinary4183 8 місяців тому

    subed man realy insightfull.

  • @MegaKgee
    @MegaKgee Рік тому

    Hi - this training is EXCELLENT.
    I'm trying to have my vba create a pivot in the nearest blank cell, could you please help?

  • @adonisfilea2529
    @adonisfilea2529 Рік тому

    It's great thank you
    when creating PTCache, run-time error '440' appears:
    Automation error

  • @jannopotestades3205
    @jannopotestades3205 2 роки тому

    I have a question from step 3, what is the purpose of "Sales Report XYZ"?

  • @sindhushagrandhi6623
    @sindhushagrandhi6623 2 роки тому

    Hi Jie,
    That was some great stuff that you posted. thank you.
    I have a question though- is it possible to give dynamic fields in the Pivot under columns section??
    for Eg: as part of resource management, I want to create pivots every month and then the fields under the Column will change based on the month.
    How do I go about it then?
    I hope my question was clear?
    looking forward to your reply!

    • @jiejenn
      @jiejenn  2 роки тому +1

      You can, but the additional of code required is gonna be messy though.

  • @saavedragabo
    @saavedragabo Рік тому

    Hi Jie,
    Thanks for your video! I managed to replicate your procedure and get a nice pivot table!
    I wonder if it is possible to create multiple pivot tables for specific combinations of variables appearing one after the other (vertically) in the same sheet. For example using a list box where user can select one variable from a table (say Var1) and another listbox where user can select multiple variables from the same table (Var2, Var3, ...). Then creating a pivot table for each combination of those variables, where the single selected Var1 is always displayed on columns and the others horizontally. This will need to account for the size of every table so they dont overlap. I thought this may be a recurrent task but can't find any ressources out there.
    Thanks in advance!

    • @jiejenn
      @jiejenn  Рік тому +1

      You can, but this is something pretty advanced, I won't be able to help in a comment unfortunately.

    • @saavedragabo
      @saavedragabo Рік тому

      @@jiejenn Thanks for your reply Jie!

  • @phaneendrakumar7674
    @phaneendrakumar7674 Рік тому

    Hi,
    How can you get font colour red in VBA editor instead of black. Can anyone please help me to this?

  • @dawncruz2686
    @dawncruz2686 2 роки тому

    Using Excel 2013:
    I am getting Error:Subscript out of range. Even though variables are declared.
    Any ideas? Thanks for the video.

    • @joshreinhardt7750
      @joshreinhardt7750 Рік тому +1

      This is definitely too late to help you but I was experiencing the same issue and then after an hour or so of troubleshooting I figured out my issue and it may be yours. In the example he has ThisWorkbook defined as wb. I should have had ActiveWorkbook defined as wb. Too long to explain here but just look up the difference between ActiveWorkbook and ThisWorkBook.

  • @mickbrandt5588
    @mickbrandt5588 Рік тому

    I'm getting label not defined after step 3.

    • @jiejenn
      @jiejenn  Рік тому

      One of your object reference is probably not the right object.

  • @carlfeeney580
    @carlfeeney580 Рік тому

    I keep getting Run-Time error "13": anyone got any ideas?