User Form to Select Pivot Table Filters

predzer

New Member
Joined
Jun 21, 2018
Messages
20
Hey Guys,

I have series of sub functions running through, while running I need a User form to pop up asking user to select pivot filters.

I've broken it down to steps while running sub.

Step 1 (Macro Running): I will be creating a pivot table (say PT1) with all pivot items selected initially. (There are 5 pivotfields, say A,B,C,D,E)

Step 2 (Macro Stopped - User Form Pop Up) : I need a User Form to pop up asking user to select the pivot item of those pivotfields.

Step 3 (Macro to Continue Running for rest of the code) : After user selects their required filter and click submit, PT1 should get updated with those pivot items and run for the rest of the code

(Note: I can use CALL function to call the user form module in between existing code)

Im fairly new to user form. So any little help also will be greatly appreciated
pray2.gif


Thanks a lot!!!

(Also Posted on http://www.vbaexpress.com/forum/sho...elect-Pivot-Table-Filters&p=382270#post382270 )
 
Last edited:

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,214,545
Messages
6,120,132
Members
448,947
Latest member
test111

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top