Тёмный

Refresh All Pivot Tables Automatically When Source Data Change - Excel VBA 

Excel Destination
Подписаться 45 тыс.
Просмотров 96 тыс.
50% 1

This Excel VBA Automation example explains VBA for pivot table refresh automatically at every change in source data.

Опубликовано:

 

10 мар 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 62   
@smitar2587
@smitar2587 3 месяца назад
Having Knowledge of VBA is more step ahead of knowing excel only. Thanks a tons😊
@jp5544
@jp5544 2 года назад
Great Brother Nice Solution as i need to auto update without enabling macro file. It works fine.Thanks a lot.
@darshankatariya5055
@darshankatariya5055 3 года назад
Thanks sir your are amazing person you save my 15 minutes daily
@ExcelDestination
@ExcelDestination 3 года назад
Most welcome
@patrickwiz
@patrickwiz 10 месяцев назад
Hi, good video solved my issue just how do you retain the undo history
@irenestefanopoulou6937
@irenestefanopoulou6937 Год назад
Thank you. It was very helpful. It works fine. Finally I have solve my problem.😄
@99999999999dd
@99999999999dd 3 года назад
Thank you so much, however, i started getting a debug to remove P.refresh. how can i fix this?
@ThGrum
@ThGrum Год назад
Thank you. Greetings from Bavaria to India😎😎
@trentfontanella6359
@trentfontanella6359 4 года назад
Very helpful. Thank you
@ExcelDestination
@ExcelDestination 4 года назад
You're welcome!
@singhsanjiv
@singhsanjiv 3 года назад
What if you add new entries to source data, will it make changes
@luismagana3815
@luismagana3815 8 месяцев назад
This works if I add more rows?
@biplobmondal201
@biplobmondal201 Год назад
will it work if the "source data" rows increases?
@tech-guru516
@tech-guru516 Год назад
amazing. you solved a big problem. well done
@beckyheyduk1077
@beckyheyduk1077 3 года назад
I am trying to do this where the pivot tables and source data are on protected sheets. Recommendations on unprotecting, running this, and then protecting again?
@JB_Photog
@JB_Photog 2 года назад
Will this work for pivot charts using data connections?
@chikamutiaraf
@chikamutiaraf 8 месяцев назад
thanks to you bro
@kameshrao6542
@kameshrao6542 3 года назад
Dear Sir Thank you for your valuable trick. how we open the VB window without short of ALT+F11. Kindly tell me. In the laptop, this combination is not working. This helps me to use this refresh option.
@ExcelDestination
@ExcelDestination 3 года назад
In Laptops, function keys like F11, F10, F9 etc works with Function Key (fn). So, In laptop, you can try ALT + fn + F11.........it should work. Apart from shortcut, you can go to "developer" tab in Menu and then select "Visual Basic" to reach to VBA Editor window. Let me know if it helps......
@cherinehaddad4819
@cherinehaddad4819 4 года назад
Thank you so much. It works when I put it in the worksheet, but I have multiple worksheets. Can you please tell me how to put this code for the whole workbook instead of worksheet. Thank you
@ExcelDestination
@ExcelDestination 4 года назад
actually selection change event works at worksheet level. So, you can copy paste the code for each worksheets, where you need this.
@bubblebee9867
@bubblebee9867 7 месяцев назад
Hi sir, I am not getting first drop down? Can you help?
@binhnguyenvan4136
@binhnguyenvan4136 2 года назад
Good job bro 😊
@ExcelDestination
@ExcelDestination 2 года назад
Thanks
@samuelfranciscogarcia1440
@samuelfranciscogarcia1440 4 года назад
Podrías compartir tu archivo dejando el link de descarga por favor. 🎂
@ZubairChoudhary
@ZubairChoudhary 3 года назад
awesome
@jessicaperez5946
@jessicaperez5946 2 года назад
Will this work on multiple pivot tables across multiple sheets changing the date on each?
@mithunthalanki5820
@mithunthalanki5820 9 месяцев назад
sir if we add new item in Source data it is not giving new spread sheet sir plz help me in this
@satishsuthar7
@satishsuthar7 Месяц назад
Thnx for this sir. But after this activity undo doesnt work.
@rajaverma104
@rajaverma104 5 месяцев назад
Nice
@jaiminshah5503
@jaiminshah5503 4 года назад
Can we present pivot table in customise format where i can add extra column which is not in the data table ?
@ExcelDestination
@ExcelDestination 4 года назад
pivot table has feature of "calculated field" which can give you additional data to original data.
@jaiminshah5503
@jaiminshah5503 4 года назад
@@ExcelDestination Hi.. thank you for your reply.. Can you please send me a video showing this feature ?
@raunikal4125
@raunikal4125 4 года назад
Will this work on multiple pivot tables across multiple sheets?
@ExcelDestination
@ExcelDestination 4 года назад
It is working for all pivot tables across one sheet only. However, you can use the same code on all those sheets, where you have multiple pivot tables. Try it .......if it doesn't work, let me know.
@PrakashPrajapati-lz3oj
@PrakashPrajapati-lz3oj Месяц назад
Sir If I closed file and reopen and add new data this steps doesn't refresh
@ganeshtanpure9475
@ganeshtanpure9475 4 года назад
What if no. Of rows in source data increase or decrease?
@ExcelDestination
@ExcelDestination 4 года назад
Code is executing, whenever "Enter" is pressed on data sheet. So, once you increase or decrease data and press enter, it would work. You can try at your end and share your experience.
@pro-valuefinancial9768
@pro-valuefinancial9768 3 года назад
Alt+F11 is not functioning with me, do we need any specific extensions file
@ExcelDestination
@ExcelDestination 3 года назад
not sure, but I guess, you can try this with Function Key (fn) then you need to use Alt+fn+F11
@iamvenomgaming9467
@iamvenomgaming9467 Год назад
I tried but it shows I need to enable Macro, how?
@Buenofokai671
@Buenofokai671 Год назад
This is awesome, but when I input this VBA code, the Ctrl+Z feature is disabled. Help?
@kthlnmbr
@kthlnmbr 22 дня назад
me too, any updates or resolution on this?
@HelpMe-ou3ik
@HelpMe-ou3ik Год назад
Hello, I would like to split a document by destination (for example) and create automatically various specific files (for each destination) with the relevant pivot chart. How to do to update the data source of the new pivot charts each time (Spain, Italy, France...) ? As they keep the original data source with all destinations (Europe). Thanks Dim pt As PivotTable Dim MyData As Excel.ListObject Set MyData = Application.Range(Europe).ListObject For Each pt In ActiveWorkbook.Worksheets("Chart - City").PivotTables pt.ChangePivotCache ActiveWorkbook.PivotCaches.Create _ (SourceType:=xlDatabase, SourceData:="MyData") Next pt
@atik21ahmed
@atik21ahmed 4 года назад
If we add row is it working??
@ExcelDestination
@ExcelDestination 4 года назад
it should.......try out and share your experience
@yaseenbasha7430
@yaseenbasha7430 3 года назад
Thank you for the coding, Query: when I am reducing the rows its refreshing data in pivot table but when I am trying to add rows it's not adding new data in pivot table. Please help on this when data range reduces or increases. Thanks in advance
@NomadOverlandRangers
@NomadOverlandRangers 4 года назад
This macro works fine, but how to save this macro, as whenever I close the Workbook and open next day this macro is missing on source sheet and I need to update the same again. Please help.
@ExcelDestination
@ExcelDestination 4 года назад
this macro is event based. I would suggest to use this code on command click or you can use on short cut also.
@mdshohidulislam-fl9wt
@mdshohidulislam-fl9wt 29 дней назад
আমার স্কেল সিট এ চার আইটেম আছে তিন নাম্বার টায় রিফ্রেশ হয় না একটা ভিডিও দিবেন প্লিজ
@vaishaliyadav5009
@vaishaliyadav5009 2 года назад
how to refresh all sheet automatically with 5 min interval with ( auto refresh on /off button) "when excel data-properties option disable"
@jincemathew8842
@jincemathew8842 4 месяца назад
While saving the file select save as type as "Excel macro enabled workbook"
@learnwithMYRA2311
@learnwithMYRA2311 7 месяцев назад
Can you please guide if the data is changing every second and I want to reflect change in data every 3 min how can I plot it
@artameher86
@artameher86 14 дней назад
alt+ f11 not working in my laptop
@sohailmallick009
@sohailmallick009 8 дней назад
Enable developer option first
@sibusisocomfort5520
@sibusisocomfort5520 4 года назад
Why does it take so long to execute the code?
@ExcelDestination
@ExcelDestination 4 года назад
not sure
@sibusisocomfort5520
@sibusisocomfort5520 4 года назад
@@ExcelDestination I figured it out. I had at least 3 levels of table references in different sheets, and the refreshing isn't linked to the primary worksheet.
@saugataghosh2448
@saugataghosh2448 Месяц назад
No it didn’t work
@PremKumar-rf3mo
@PremKumar-rf3mo Год назад
hi,
@ibadkhan481
@ibadkhan481 3 года назад
It’s not letting me scrolling in the source sheet how can i assign it to a button as it’s not reflecting under Macros option
@ExcelDestination
@ExcelDestination 3 года назад
You can add a command button and assign this code to command Button. There is a tutorial, you can take help from. Link is given below : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-U4lf-GN0KSo.html
Далее
Auto Refresh PivotTables & Queries - without VBA!
9:37
Это iPhone 16
00:52
Просмотров 1,1 млн
best way out of the labyrinth🌀🗝️🔝
00:17
Просмотров 1,9 млн
Excel VBA to Refresh All PivotTables With a Button
7:37
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
This is how I ACTUALLY analyze data using Excel
24:05
Просмотров 109 тыс.
3 Essential Excel skills for the data analyst
18:02
Просмотров 1,5 млн
41 - How to Refresh Queries in Excel Power Query
13:23
Это iPhone 16
00:52
Просмотров 1,1 млн