QuantBurner
New Member
- Joined
- Jan 29, 2011
- Messages
- 42
Hi,
I have a series of bar charts I need to update each month. At the bottom of each stack in the bar chart, I have a text box with the total of all the elements in the stack (some elements are positive and some are negative so, the total gives a net which is not readily apparent with positive and negative elements). The number of stacks will vary from month to month, so the number of text boxes will vary also. I'm wanting to write a vba macro that will add the textboxes, format them, put the total value as text in the text box, and align the text box vertically along the y-axis and center the box within each stack. Hope that's clear. I'm pretty sure I can figure out how to do erverything except align the textboxes within the stacks. Any help would be appreciated!
Cheers
I have a series of bar charts I need to update each month. At the bottom of each stack in the bar chart, I have a text box with the total of all the elements in the stack (some elements are positive and some are negative so, the total gives a net which is not readily apparent with positive and negative elements). The number of stacks will vary from month to month, so the number of text boxes will vary also. I'm wanting to write a vba macro that will add the textboxes, format them, put the total value as text in the text box, and align the text box vertically along the y-axis and center the box within each stack. Hope that's clear. I'm pretty sure I can figure out how to do erverything except align the textboxes within the stacks. Any help would be appreciated!
Cheers