Hi there I am a newbie at Excel,
1. I have a budget sheet as per the table below
2. I created a pie chart named "chart1" based on selections A1,A2 and B1, B2, and C1,C2. Just to show faculty, and comparison of two columns.
3. How do I update the pie chart data through vba? I know how to do the if statements etc. I have a variable that stores the faculty name. I used a match statement to locate the row for each faculty.
IF Faculty (A)
vba code to update chart series to A1,A2 and B1, B2, and C1,C2
IF Faculty (B)
vba code to update chart series to A1,A3 and B1, B3, and C1,C3
End
...etc..
Any help would be appreciated.
1. I have a budget sheet as per the table below
2. I created a pie chart named "chart1" based on selections A1,A2 and B1, B2, and C1,C2. Just to show faculty, and comparison of two columns.
3. How do I update the pie chart data through vba? I know how to do the if statements etc. I have a variable that stores the faculty name. I used a match statement to locate the row for each faculty.
IF Faculty (A)
vba code to update chart series to A1,A2 and B1, B2, and C1,C2
IF Faculty (B)
vba code to update chart series to A1,A3 and B1, B3, and C1,C3
End
...etc..
Any help would be appreciated.