VBA to set X axis

wisemank

Board Regular
Joined
Jun 21, 2010
Messages
129
Hello again,

I am looking for directional help on programming a user form to set the number of values for my X axis on charts. The programs we chart vary for job to job and we use waterfall charts as a means to report. The issue is this, some projects use as little as 3 x values and some programs may use up to 10 bars. The number of X bars and their titles differ each time (no standard template). I want to create a ListBox with a number range from 1 to 12 and then with the selected number from the list box, display TextBoxes to have the user fill in and then the TextBoxes create the X axis values. Has any one done this before? I have seen the Peltier chart add ons, but have not seen if they are flexible with the number of x values...Thanks

Kip
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,223,958
Messages
6,175,629
Members
452,661
Latest member
Nonhle

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top