PDA

View Full Version : dynamically inserting bars into a chart



wolle271
09-01-2014, 06:23 AM
cheers guys,

i have the following chart:

12211

im getting an input of two values between 1 and 9. depending on those values im trying to create the red and the green bar.
so if value A is 3, the green bar should be created at the "3", same for the red bar and value B.

i tried to figure out the code i need by recording a macro and then moving one of the bars "one point to the right" but that didnt work properly.

thx in advance.