+ Reply to Thread
Results 1 to 5 of 5

Histogram Parameters

  1. #1
    Registered User
    Join Date
    11-30-2009
    Location
    Kiev, Ukraine
    MS-Off Ver
    Excel 2007
    Posts
    2

    Histogram Parameters

    Good morning folks!

    Those "False, False, False, False" parameters to run a histogram, whatever do they mean?


    Application.Run "ATPVBAEN.XLAM!Histogram", Range("Inputs"), Hist.Offset(0, 3), Worksheets("OutputSheet").Range("Outputs"), False, False, False, False


    Through recorded code, I've seen that to create a histogram, the third False is a "True"... but let's say I've already got the blank histogram created...

    I'm running a simulation (where the inputs range is being updated with every run) , and I want the histogram to be filled in at the end of all the runs. What do these parameters have to do with it?

    Having them all as false, like I've been told, isn't working..


    Greatly appreciate any tidbits of wisdom thrown my way!

    Thanks

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,419

    Re: Histogram Parameters

    If you set a reference to atpvbaen.xls in VBE you can use the object browser to tell you the following.

    Sub Histogram(inprng, [outrng], [binrng], [pareto], [chartc], [chart], [labels])
    Member of atpvbaen.xls.VBA Functions and Subs
    Calculates individual and cumulative percentages for a range of data and a corresponding range of data bins
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    11-30-2009
    Location
    Kiev, Ukraine
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Histogram Parameters

    Thank you!!

  4. #4
    Forum Contributor
    Join Date
    09-30-2009
    Location
    Barcelona
    MS-Off Ver
    Excel 2010
    Posts
    274

    Re: Histogram Parameters

    If you set a reference to atpvbaen.xls in VBE
    this is very basic, but how do you do it (absolute novice in VBA)

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Histogram Parameters

    Please take a few minutes to read the forum rules, and then start your own thread.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1