Link to home
Start Free TrialLog in
Avatar of Sindharta Wierawan
Sindharta WierawanFlag for Singapore

asked on

VBA code to select multiple items on pivot table

Hi, I need a help to create a vba code for following task.

I have 2 pivot tables. pivot table 1 showing the parent unit and component list.

Second Pivot table showing the details of revenue, production information for the component list.

what i need is when the user to key in the parent unit desired,
a. pivot table 1 will show the parent unit desired and its component list
b. pivot table 2 will show the details base on component list from pivot table 1.

I create a simple excel, can anyone help ? i'm a bit stuck. the actual report that i need contain a thousands of line item, and one parent unit can have as much as 50 component, so to do it manually is not preferable.
sample.xlsx
ASKER CERTIFIED SOLUTION
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sindharta Wierawan

ASKER

Thanks a lot for your help....the code is working...I really appreciate your help...
You're welcome Sindharta! Glad it worked as desired.