The chart itself displays, but only contains the values of K12:K50, instead of everything from K12 - N50. I need it to display the SUM of the values in K12-K50, L12-L50, etc until N12-N50, then display those totals in the chart. Can someone help?
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Re: Creating charts in Excel with VBA, this code *should* work...
I have had a look. I do not think that the pie chart is the one you want, and the series seem to be completely uh useless on a piechart.
I think that for the piechart view to work you need to add all the peoples fees together by section. Then you can make a pie chart on the resulting lines.
Eg>
Code:
Name Commission Mortgage Fee Life Fee Home Insurance Fee
Bob 100.00
Jane 300.00 599.22
Tim 200.00 200.00
would become
Code:
Total Commission Mortgage Fee Life Fee Home Insurance Fee
Total 600 599.22 200
Which the pie chart actually means something.
Perhaps I am missing what you are looking for though sorry!
Excel intellisense is crap for charting isn't it!
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Re: Creating charts in Excel with VBA, this code *should* work...
Ok, if not a pie chart to show the individual values then, what sort of chart to use? I've tried using a bar chart, but the values still dont display properly. If I used a bar chart (or similar) to display all the information, what would the code be? I'd figured out I *don't* need to display the totals of the columns, just the values!
Re: Creating charts in Excel with VBA, this code *should* work...
Perhaps a chart like this? (sheet type 1)
As I said, I do not know what you are trying to show to managers, but perhaps this is something more like what you want.
Also - your ranges should be only for those with data, and any nulls should be completed with 0's (find replace?)
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Re: Creating charts in Excel with VBA, this code *should* work...
We're along the right lines, but it has to be dyanmic (like when another advisor is searched for and their information displayed from the search function). Leave it with me...
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...