Macro involving multiple Histograms

ThereIAm

New Member
Joined
Jul 19, 2012
Messages
5
I am trying to use a macro to make a histogram. I have a randomly generated array of numbers that I would like to make a new histogram (actually two histograms) with every time I re-calculate them. I don't mind having to press a button to make the macro go, but I don't want to have to enter the arguments for the histograms every time. (since I am switching between two sets of data for two histograms, I can't just use the stored values from the previous time)

I tried recording a macro, but I could not get it to work with much trial and error. I do not know what the arguments are and could not figure out after quite a bit of tinkering.

I got continuous complaints about incontiguous arguments and pareto's being illogical.

Thanks for any help!
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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