Consulting

Results 1 to 4 of 4

Thread: creating a chart using VBA

  1. #1

    creating a chart using VBA

    hello,

    does anybody here have an example on how to handle histograms in Vba please?

    I have a loop where the "i" are the X axis values
    the formula inside the loop returns the Y axis values

    how do I pass the (XY) series to an histogram in vba without having to write the X and Y into cells then select the range and create the histogram??

    thanks!
    Alex

  2. #2
    VBAX Contributor
    Joined
    Nov 2007
    Posts
    144
    Location
    can you post some of your code for loop

  3. #3
    hi f2e4,


    will have to post tomorrow as the code is at the office now...
    I've been told to use arrays to pass the series to a chart in vba. but apparently there are some limitations.

  4. #4
    MS Excel MVP VBAX Mentor Andy Pope's Avatar
    Joined
    May 2004
    Location
    Essex, England
    Posts
    344
    Location
    Cheers
    Andy

Posting Permissions

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