Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Marker Transparency

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Marker Transparency


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


"gottahavit" wrote:

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.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Marker Transparency

However, there does not seem to be a facility in VBA to set the transparency
of a marker.

"gottahavit" wrote:

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.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Marker Transparency

Hi,

Transparency of markers is only available in xl2007.

For previous versions you could use a custom marker based on an autoshape
which can be transparent.
This explains how to use custom markers. You can use the macro recorder to
generate starting code.
http://peltiertech.com/Excel/ChartsH...omMarkers.html

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"gottahavit" wrote in message
...
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.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Marker Transparency

I do have xl2007, but I can't seem to find a method to apply it in VB.
Thanks for your help.

"Andy Pope" wrote:

Hi,

Transparency of markers is only available in xl2007.

For previous versions you could use a custom marker based on an autoshape
which can be transparent.
This explains how to use custom markers. You can use the macro recorder to
generate starting code.
http://peltiertech.com/Excel/ChartsH...omMarkers.html

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"gottahavit" wrote in message
...
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.




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Marker Transparency

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
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"gotahavit" wrote in message
...
I do have xl2007, but I can't seem to find a method to apply it in VB.
Thanks for your help.

"Andy Pope" wrote:

Hi,

Transparency of markers is only available in xl2007.

For previous versions you could use a custom marker based on an autoshape
which can be transparent.
This explains how to use custom markers. You can use the macro recorder
to
generate starting code.
http://peltiertech.com/Excel/ChartsH...omMarkers.html

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"gottahavit" wrote in message
...
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.



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
Chart transparency [email protected] Excel Programming 3 December 28th 07 03:59 PM
Selection Transparency rmknobbe New Users to Excel 1 April 26th 07 02:30 AM
Transparency Discrepency Quahaug Excel Programming 8 October 18th 06 12:11 PM
Transparency in a chart Daniel Charts and Charting in Excel 1 October 3rd 06 12:05 AM
combo box transparency John Davies Excel Programming 1 September 28th 05 04:11 AM


All times are GMT +1. The time now is 12:43 PM.

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

About Us

"It's about Microsoft Excel"