PC Review


Reply
Thread Tools Rate Thread

Creating scatter plots with and without data

 
 
johnhildreth@citynet.net
Guest
Posts: n/a
 
      17th Apr 2006
After much trial and even more errors, I have determined:
1) there must be a selected cell somewhere in a workbook at all
times (that is, the only way to de-select a cell is to
select another)
2) sometimes a scatter plot created via VBA is a blank chart (no
source data, no series)
3) sometimes a scatter plot created via VBA contains 1 series with
the Y values set to the activecell

My question is...what is the factor that determines whether 2 or 3
listed above occurs? I create a scatter plot for 2 series and
sometimes get a 3rd blank one as well. The workaround is fairly
simple...if 3 series, delete the 3rd. But I really want to understand
this one.

Thanks,
John

 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      20th Apr 2006
This all depends on the code you're using, which you didn't post.

There are some tips about VBA charting on this page:

http://peltiertech.com/Excel/ChartsH...kChartVBA.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> After much trial and even more errors, I have determined:
> 1) there must be a selected cell somewhere in a workbook at all
> times (that is, the only way to de-select a cell is to
> select another)
> 2) sometimes a scatter plot created via VBA is a blank chart (no
> source data, no series)
> 3) sometimes a scatter plot created via VBA contains 1 series with
> the Y values set to the activecell
>
> My question is...what is the factor that determines whether 2 or 3
> listed above occurs? I create a scatter plot for 2 series and
> sometimes get a 3rd blank one as well. The workaround is fairly
> simple...if 3 series, delete the 3rd. But I really want to understand
> this one.
>
> Thanks,
> John
>



 
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
Excel 2007 crashing with simple scatter plots with 8 k data points =?Utf-8?B?Qm9yaXM=?= Microsoft Excel Charting 7 25th Feb 2010 01:55 AM
Creating scatter plots libertyforall Microsoft Excel Discussion 2 18th Jun 2009 08:38 PM
data markers in xy scatter plots kathryng Microsoft Excel Charting 0 16th May 2006 04:33 AM
Excel gives me line plots - I want scatter plots =?Utf-8?B?UGFuZ2xvc3M=?= Microsoft Excel Charting 1 14th Oct 2005 02:15 PM
scatter plots using pivot table data Dan Microsoft Excel Charting 1 10th Jun 2004 12:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:34 AM.