PC Review


Reply
Thread Tools Rate Thread

VB to create histogram

 
 
Harley Feldman
Guest
Posts: n/a
 
      18th Dec 2004
I am trying to create a histogram using VB with data that I input and bin data records available. When I chose the macro recorder while creating the histogram, I only received the following line of code:

Application.Run "ATPVBAEN.XLA!Histogram", , "", , False, False, False _
, True

I am not sure what these parameters represent, and I don't see where the input or bin ranges are entered. What code is required to make the histogram data analysis work?

Harley
 
Reply With Quote
 
 
 
 
Michael R Middleton
Guest
Posts: n/a
 
      18th Dec 2004
Harley -

You can download a free add-in from the "Better Histogram" page at
www.treeplan.com. The VBA code isn't protected, so you can use it as is or
modify it for your needs. It doesn't use the Histogram tool, but it may be
satisfactory. If you take a look at it, please give me some feedback.
Alternatively, you will likely eventually receive some replies about using
the Analysis ToolPak Histogram add-in.

- Mike

www.mikemiddleton.com

+++++++++++++++++++++++

"Harley Feldman" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
I am trying to create a histogram using VB with data that I input and bin
data records available. When I chose the macro recorder while creating the
histogram, I only received the following line of code:
Application.Run "ATPVBAEN.XLA!Histogram", , "", , False, False, False _
, True
I am not sure what these parameters represent, and I don't see where the
input or bin ranges are entered. What code is required to make the
histogram data analysis work?
Harley


 
Reply With Quote
 
Lonnie M.
Guest
Posts: n/a
 
      19th Dec 2004
Hi, you could create the chart ahead of time and then update the data
with your code.
Then you can do whatever you wish with the chart--copy, export as a
'.gif', hide, unhide--the sky is the limit, almost.
You might also want to search under the following group:
http://groups-beta.google.com/group/...el.programming
Good Luck! Lonnie M.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a CORRECT histogram? Brian Chisholm Microsoft Excel Charting 1 21st Apr 2008 03:18 PM
Re: create a Histogram? Mike Middleton Microsoft Excel Charting 0 6th Dec 2006 10:51 PM
Re: How do I create a histogram Bernard Liengme Microsoft Excel Charting 0 1st Dec 2006 12:53 AM
Code to create a Histogram =?Utf-8?B?RG9uIElyZWxhbmQ=?= Microsoft Excel Programming 5 28th Mar 2006 09:08 AM
Is it possible to create a histogram from data in excel? rantz Microsoft Excel Discussion 1 16th Jan 2006 01:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:12 AM.