Marker Transparency

  • Thread starter Thread starter gottahavit
  • Start date Start date
G

gottahavit

I am using VB to add multiple series in a scatterplot. I want the markers to
be 50% transparent, but I cannot seem to figure out how.
Can anyone help?

Thanks.
 
This sample found in VBA help sets the transparency to 50%.

With Worksheets(1).Shapes(3).Shadow
.Visible = True
.ForeColor.RGB = RGB(255, 0, 0)
.Transparency = 0.5
End With
 
However, there does not seem to be a facility in VBA to set the transparency
of a marker.
 
I do have xl2007, but I can't seem to find a method to apply it in VB.
Thanks for your help.
 
Hi,

Big see thru red circles for series 1.

Dim objSeries As Series

Set objSeries = ActiveChart.SeriesCollection(1)
With objSeries
.MarkerSize = 30
.MarkerStyle = xlMarkerStyleCircle
.MarkerBackgroundColor = RGB(255, 0, 0)
.Format.Fill.Transparency = 0.5 ' 50%
End With

Cheers
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top