build a histogram using vba

%3CLINGO-SUB%20id%3D%22lingo-sub-2158708%22%20slang%3D%22en-US%22%3Ebuild%20a%20histogram%20using%20vba%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2158708%22%20slang%3D%22en-US%22%3E%3CP%3Ei%20am%20trying%20to%20build%20a%20histogram%20using%20excel%20vba.%20Instead%20of%20using%20a%20range%20of%20cells%20in%20the%20relevant%20code%20i%20would%20like%20to%20use%20a%20variable%20which%20takes%201.000%20(say)%20values.%20How%20this%20can%20be%20done%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2158708%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

i am trying to build a histogram using excel vba. Instead of using a range of cells in the relevant code i would like to use a variable which takes 1.000 (say) values. How this can be done ?

 

1 Reply

@peleioan 

With your permission, if I can recommend you, insert a file (without sensitive data) and explain your problem in detail. So you can get a solution proposal to your problem much faster.

At the same time, it is much easier for someone who wants to help to understand the subject.

A win-win situation for everyone.

It is also helpful to know the operating system, as different approaches may be required depending on the Office version and OS.

 

In order not to be misunderstood, in the community it is the aim of excel users to give help on their project (from Excel users), or rather, to provide food for thought and not to deliver finished work or finished ideas.

 

 

Thank you for your understanding and patience

 

Nikolino

I know I don't know anything (Socrates)