PC Review


Reply
Thread Tools Rate Thread

Controlling Marker Attributes

 
 
=?Utf-8?B?RCBNb29yZQ==?=
Guest
Posts: n/a
 
      19th May 2004
Is there a way to control the attributes (point size
style, color, etc.) of a marker for a scatter chart b
setting them programmatically (via Visual Basic o
other means) or by setting the values in cells

Thanks in advance.
 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      20th May 2004
VBA is suited to this tedious task. Turn on the macro recorder while you
format some markers, and then examine the code. You can put desired
values into the worksheet, and have the procedure get the parameters
from there. A relevant snippet of code looks like this:

With ActiveChart.SeriesCollection(1).Points(2)
.MarkerBackgroundColorIndex = 15 ' gray
.MarkerForegroundColorIndex = 1 ' black
.MarkerStyle = xlSquare
.MarkerSize = 7
End With

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


D Moore wrote:

> Is there a way to control the attributes (point size,
> style, color, etc.) of a marker for a scatter chart by
> setting them programmatically (via Visual Basic or
> other means) or by setting the values in cells?
>
> Thanks in advance.


 
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
Properties, attributes and marker interfaces Ben Microsoft C# .NET 1 6th Dec 2007 04:48 PM
Data value display attributes linked to table attributes MDT at Paragon Home Inspections, LLC Microsoft Excel Charting 0 15th Nov 2006 12:53 AM
Modifying Chart Series Attributes Insights (Color, Marker Type, Et =?Utf-8?B?RGVhbiBIaW5zb24=?= Microsoft Excel Programming 4 6th Dec 2004 04:40 AM
Setting some file attributes doesn't work with FileInfo.Attributes =?Utf-8?B?Sm9obiBSLg==?= Microsoft C# .NET 7 18th Nov 2004 09:17 AM
View and/or edit paragraph marker marker =?Utf-8?B?VGVycnkgUmF5?= Microsoft Word Document Management 1 3rd Sep 2004 02:38 AM


Features
 

Advertising
 

Newsgroups
 


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