Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guys,
I have a dropdown list in excel and i want to change the pivot table on its selection change but anything related to this will also help, can anyone tell me how can I do this using macros.
I need a small piece of vb code for doing this.
By the way I have excel 2007 which i am populating from access db.
Posted

1 solution

If you are working in MS Excel... you don't need any macros. You need to create pivottable (Tools->PivotTable and PivotChart /translate from polish language/) and create pivotchart built in on it. When you change anything in pivottable, pivotchart will be change.
 
Share this answer
 
Comments
[no name] 29-Jul-11 4:00am    
Hello Sir,
I think you din't understood my question.
What i want is, on selecting any value from dropdown i want to populate a table with the respective data.I am ready with all the data only problem i am facing is i cant get the selectedindex changed event of the dropdown.Any idea ??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900