#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Histogram

oXl = Application
' Chart the Histogram on a new Worksheet
' See Microsoft Knowledge Base article Q108888, or Q213489
oXl.Run "ATPVBAEN.XLA!Histogram", oXl.ActiveSheet.Range("$A$1:$A$10"), _
"", oXl.ActiveSheet.Range("$B$1:$B$4"), _
False, False, True, False ' True = Chart

--
Regards,
Tom Ogilvy

"mnt" wrote in message
...
I am trying to write a macro that automatically performs the Histogram

calc
based on a user form input. I tried Recording a macro while I performed

the
Histogram but nothing would up in the macro.

In a macro or VBA, how do I address the Histogram function?

Thanks,



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Histogram

Do you know how to specify the output range? i.e. I don't want the results
placed on a new worksheet (if possible)


Regards,
Adrian T



"Tom Ogilvy" wrote:

oXl = Application
' Chart the Histogram on a new Worksheet
' See Microsoft Knowledge Base article Q108888, or Q213489
oXl.Run "ATPVBAEN.XLA!Histogram", oXl.ActiveSheet.Range("$A$1:$A$10"), _
"", oXl.ActiveSheet.Range("$B$1:$B$4"), _
False, False, True, False ' True = Chart

--
Regards,
Tom Ogilvy

"mnt" wrote in message
...
I am trying to write a macro that automatically performs the Histogram

calc
based on a user form input. I tried Recording a macro while I performed

the
Histogram but nothing would up in the macro.

In a macro or VBA, how do I address the Histogram function?

Thanks,




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Histogram

Do you know how to specify the output range? i.e. I don't want the output
placed on a new worksheet.


Regards,
Adrian T


"Tom Ogilvy" wrote:

oXl = Application
' Chart the Histogram on a new Worksheet
' See Microsoft Knowledge Base article Q108888, or Q213489
oXl.Run "ATPVBAEN.XLA!Histogram", oXl.ActiveSheet.Range("$A$1:$A$10"), _
"", oXl.ActiveSheet.Range("$B$1:$B$4"), _
False, False, True, False ' True = Chart

--
Regards,
Tom Ogilvy

"mnt" wrote in message
...
I am trying to write a macro that automatically performs the Histogram

calc
based on a user form input. I tried Recording a macro while I performed

the
Histogram but nothing would up in the macro.

In a macro or VBA, how do I address the Histogram function?

Thanks,




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Histogram

Do you know how to specify the output range? i.e. I don't want the results
placed on a new worksheet (if possible)


Regards,
Adrian T


"Tom Ogilvy" wrote:

oXl = Application
' Chart the Histogram on a new Worksheet
' See Microsoft Knowledge Base article Q108888, or Q213489
oXl.Run "ATPVBAEN.XLA!Histogram", oXl.ActiveSheet.Range("$A$1:$A$10"), _
"", oXl.ActiveSheet.Range("$B$1:$B$4"), _
False, False, True, False ' True = Chart

--
Regards,
Tom Ogilvy

"mnt" wrote in message
...
I am trying to write a macro that automatically performs the Histogram

calc
based on a user form input. I tried Recording a macro while I performed

the
Histogram but nothing would up in the macro.

In a macro or VBA, how do I address the Histogram function?

Thanks,




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Histogram an Excel Discussion (Misc queries) 4 May 14th 10 02:31 PM
I was creating a histogram; now i have data but no histogram. ShannonMills3 Excel Worksheet Functions 0 June 14th 06 12:03 AM
How to Histogram w/o raw data but histogram Table on Excel 2005 Charts and Charting in Excel 1 February 1st 06 06:48 AM
Histogram durino13 Excel Discussion (Misc queries) 7 August 18th 05 01:29 PM
histogram canadian excel user Excel Discussion (Misc queries) 1 July 30th 05 11:50 PM


All times are GMT +1. The time now is 11:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"