+ Reply to Thread
Results 1 to 3 of 3

Histogram Macro : bin range issue

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    paris
    MS-Off Ver
    Excel 2010
    Posts
    3

    Histogram Macro : bin range issue

    Hi there,

    I need to call the Histogram function, from Data Analysis, on vba.

    Here is the code :

    Please Login or Register  to view this content.
    The only thing is that I don't want any bin range.

    The syntax is Histogram(inprng, [outrng], [binrng], [pareto], [chartc], [chart], [labels]), and when I leave the binrng empty, i got the error message : "Histogram - bin range cannot be empty"

    I tried to write "", or FALSE, but it doesn't work.

    Any idea ?

    Thanks,

  2. #2
    Registered User
    Join Date
    07-10-2012
    Location
    paris
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Histogram Macro : bin range issue

    Does anybody know how to set the "bin range" to "nothing" ?

  3. #3
    Registered User
    Join Date
    07-10-2012
    Location
    paris
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Histogram Macro : bin range issue

    I didn't find how to leave the bin field empty, so I initialized id, taking a range from the Max and the Min of my input range, and setting the bin number on ActiveSheet.Cells(3, 16)

    And it works !


    It may help someone..


    Please Login or Register  to view this content.

+ 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