Тёмный
No video :(

Use Vba Macro Buttons To Add/remove Pivot Table Fields Instantly! 

Excel Campus - Jon
Подписаться 575 тыс.
Просмотров 55 тыс.
50% 1

Sign up for our Excel webinar, times added weekly: www.excelcampus.com/blueprint...
In this video I explain how to use macro buttons to add or remove fields to your pivot tables. This is great for reports and dashboards where you want to allow users to quickly see different views of the data. The users don't have to be familiar with how to modify pivot tables.
Download the Excel file and read the post: www.excelcampus.com/vba/macro...
I share two VBA macros in this video.
The first macro will remove all fields from the Rows area of the pivot table, then add the field based on the macro button that was pressed.
The second macro is a toggle that allows the user to add or remove each field independently. This allows the user to add multiple fields to the pivot table, and control the order of the fields in the Rows or Columns area.
The macro uses the Application.Caller property to retrieve the text from the button, and use it in the code. This means we can use the same macro for all of the buttons on the sheet.
I also explain how to create additional buttons in the video.
You can still use Slicers and Pivot Charts with the pivot tables. The macro buttons just automate the process of changing the fields in the pivot table.
Related videos & articles:
Intro to Pivot Tables & Dashboards - • Introduction to Pivot ...
Intro to Macros & VBA -www.excelcampus.com/vba/macro...
Automatic Number Formatting for Pivot Tables - • Formatting Numbers In ...
Filter Non-Pivot Table Columns with a Slicer- www.excelcampus.com/vba/hide-...
Refresh Pivot Tables Automatically - • Pivot Tables: Automati...
00:00 Introduction
00:11 Adding Macro Buttons to a Pivot Table
01:06 Macro to Replace Fields in the Rows Area
04:09 Copy & Align

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

 

6 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 51   
Далее
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
Склеил девушку-курьера ❤️
01:00
СМОТРИМ YOUTUBE В МАЙНКРАФТЕ
00:34
Просмотров 977 тыс.
Наташа Кампуш. 3096 дней в плену.
00:58
Simple VBA Fixes for Excel PivotTable Macros
16:52
Просмотров 74 тыс.
How to Filter a Pivot Table in Excel Using VBA
13:19
Просмотров 25 тыс.
Simple pivot table using an excel macro
8:57
Просмотров 91 тыс.