Learn Excel - Video 266 - VBA - How to create the Pivots using coding

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024
  • Learn how to create Pivots from the scratch using excel vba.

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

  • @manjunathj3
    @manjunathj3 5 лет назад +3

    Hello Sir, how to create a dynamic pivot, which can auto refresh when there is a change in the table?

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

    Hi Ajay, just awesome explanation on the pivots, I've a question, I've created a dynamic pivot (where the data range always change) with the help of your video and ofcourse with the help of macro editor,haha, thanks for showing that one as well. So my question is, the macro is working perfectly fine but one issue, there is row and column named as "(blank)" is getting inserted automatically and my user has to delete it every time he runs the macro. And since the number of rows and columns are dynamic in my data I'm unable to automatically delete them, for example, the row and column named (blank) which is getting inserted automatically will be sometimes at C column and 20th row and sometimes F column and 500th row, hope you understood what I'm trying to explain, so could you please help me in fixing the issue, this will be a great learning and help for me, many thanks in advance!!!
    P.S :- when I searched on Google and went through many RUclips videos to find the reason behind the blank row and column getting inserted is if one cell in the Range is empty then this will happen in my case it is true, I've some empty cells in my data range.

  • @ankitsoni1869
    @ankitsoni1869 4 года назад

    Sir i am working on excel & wanted complete excel . Give the on advance excel from biggner to advance level pivot, vba, macro... I have watch this video & much satisfied & love it... Thanks... Keep it up

  • @udaykiran52
    @udaykiran52 5 лет назад

    One of the best n easy video to do pivot table in vba. How can we filter data, which is kept in filter field.

  • @rakeshkumarmadella7955
    @rakeshkumarmadella7955 7 лет назад +1

    Simple awesome Ajay sir thank u so much...

  • @amitkrchoudhary49
    @amitkrchoudhary49 6 лет назад +1

    Awesome sir

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

    Best video

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

    Have a generic query. How to modify msgbox dimensions in vba ?

  • @santoshkamala2750
    @santoshkamala2750 4 года назад

    Hello, I don't understand "Why did you declare the variables ?". In your code - Dim pt as PivotTable""and "Dim ptcs as PivotCache".. it's not use any where. Why did you declare then ?

  • @AyushDubey205
    @AyushDubey205 6 лет назад

    Hi Ajay sir, i created pivot table for a report which is working nicely but when I tried to do the same for another report pivot cache is not working only. The code is running but pivot table is not creating. Code is only working till ranges which I specified right before pictures cache

  • @itsmylife1568
    @itsmylife1568 5 лет назад +1

    Thank You!

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

    sir this is not working for a some database.. in those cases blank pivot table is not creating.. I'm unable to diagnose the bug where it is.. everything is okk for all.. but sometimes it doesn't execute the command (i.e - activeworkbook.pivotcache.create(...)
    Please look into this🙏

  • @TipsbyLalit
    @TipsbyLalit 7 лет назад

    thx buddy u r awesome

  • @mubaraksyed7836
    @mubaraksyed7836 5 лет назад

    Thank you so much sir...It is a awesome video

    • @mubaraksyed7836
      @mubaraksyed7836 5 лет назад

      hi sir....Please resolve my doubt
      Can we run 3 VBA Macros in one workbook which are downloading the attachments from outlook, data consolidation of multiple attachments and Pivot table of Consolidated file. Please let me know.

    • @AjayKumarparmar
      @AjayKumarparmar  5 лет назад

      Use call keyword

  • @saini1981
    @saini1981 4 года назад

    Hi Sir,
    If my data is in sheet 1 and want to create pivot in sheet2. What will be the code.... This code not working

  • @kumarnarayanan80
    @kumarnarayanan80 4 года назад

    Hi do you have any other video for pivot table vba

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

    For dynamic range Range("A1"). current region.address work for me 😀

  • @swati0880
    @swati0880 6 лет назад

    Sir, thank you for the video but it is not working on my excel data. The code is not creating blank pivot and I am not able to figure out where the issue is..

    • @AjayKumarparmar
      @AjayKumarparmar  6 лет назад

      Please share error description and line that throw error

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

    Sir please can you make a basic detailed video in Hindi

  • @neetshil1434
    @neetshil1434 5 лет назад +1

    👍

  • @tomkei7374
    @tomkei7374 6 лет назад

    Helo Ajayji my big Bro mere bhai yeh vedio sab parliya, yaad karliyah , it works up to range A1:Z100 but It does not work range like A1:AB39... why..???? how do I take such range... Mei apani company ka ek excel sheet send karungga appkay email mai if u do not beleive me... your video 266 really works but not to the range that exceed "z" & when the range comes to "AA"... For God sake please help me lol !!!!!

  • @tomkei7374
    @tomkei7374 6 лет назад

    It works but it doesn't work in a large data range A1:AJ33 , I ve practice n done several times in a small table range it works but in a big Table I dont know how it always failed. Please Help !!!
    Sir appke wow table A1:C5 in the video, kabhi same table may jada wala range aanay say for example A1:C5 ke badalay upto C10 honay say kon sa Code dalayga,,, what I want is jo source hena usska range na likhnay say coding may to koi yee bhi different range of same table Pivot banana possible hoga

    • @tiwari_gulshan
      @tiwari_gulshan 6 лет назад

      I am facing the same issue.
      Ajay can you please help with this , please!!!

  • @souvagyamohapatra5389
    @souvagyamohapatra5389 4 года назад

    Bro why did you take Dim when you are not going to use it ? Your way of explaining is good but doesn't solve the purpose. Make the table dynamic and add a button which will automatically update the source_field and refreshes the pivot table at the same time.