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

Поделиться
HTML-код
  • Опубликовано: 18 янв 2025

Комментарии • 22

  • @stewartalexander158
    @stewartalexander158 3 года назад +2

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

  • @patrickwheeler1979
    @patrickwheeler1979 Год назад

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

  • @pearsonyam4052
    @pearsonyam4052 3 года назад

    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  3 года назад

      Thanks for subscribing. And glad my video helped.

  • @gopijanjanam985
    @gopijanjanam985 2 года назад

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

  • @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!

  • @jackfish1983
    @jackfish1983 2 года назад

    Super useful!! thanks!

  • @optimalbinary4183
    @optimalbinary4183 Год назад

    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?

  • @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!

  • @adonisfilea2529
    @adonisfilea2529 Год назад

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

  • @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.

  • @jannopotestades3205
    @jannopotestades3205 2 года назад

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

  • @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 2 года назад +2

      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.

  • @phaneendrakumar7674
    @phaneendrakumar7674 Год назад

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

  • @mickbrandt5588
    @mickbrandt5588 2 года назад

    I'm getting label not defined after step 3.

    • @jiejenn
      @jiejenn  2 года назад

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

  • @carlfeeney580
    @carlfeeney580 2 года назад

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