Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4
Default Data labels print with white background

Hi,
I am writing a macro to create a xlColumnStacked ChartType. I'm asking
Excel to show the series values inside the column wthout borders or
fill:

For i = 1 To .SeriesCollection.Count
.SeriesCollection(i).ApplyDataLabels AutoText:=True, LegendKey:=
_
False, ShowSeriesName:=False, ShowCategoryName:=False,
ShowValue:=True
.SeriesCollection(i).DataLabels.Border.LineStyle = xlNone
.SeriesCollection(i).DataLabels.Interior.ColorInde x = xlNone
Next

The graph looks exactly as I would expect: with the values within each
column stack and the column colors as the background. But, when I
print, the data lables all have white backgrounds. This shows in print
preview as well.

The Format Data Label wizard shows Area Fill = None but the white
color selection box is selected. Is there any way to show the column
colors through the data label?

Thanks,
Wendell
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Data labels print with white background

Add this statement:

.SeriesCollection(i).DataLabels.Font.Background = xlTransparent

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


wrote in message
...
Hi,
I am writing a macro to create a xlColumnStacked ChartType. I'm asking
Excel to show the series values inside the column wthout borders or
fill:

For i = 1 To .SeriesCollection.Count
.SeriesCollection(i).ApplyDataLabels AutoText:=True, LegendKey:=
_
False, ShowSeriesName:=False, ShowCategoryName:=False,
ShowValue:=True
.SeriesCollection(i).DataLabels.Border.LineStyle = xlNone
.SeriesCollection(i).DataLabels.Interior.ColorInde x = xlNone
Next

The graph looks exactly as I would expect: with the values within each
column stack and the column colors as the background. But, when I
print, the data lables all have white backgrounds. This shows in print
preview as well.

The Format Data Label wizard shows Area Fill = None but the white
color selection box is selected. Is there any way to show the column
colors through the data label?

Thanks,
Wendell



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4
Default Data labels print with white background

On May 6, 2:48*pm, "Jon Peltier"
wrote:
Add this statement:

* * * .SeriesCollection(i).DataLabels.Font.Background = xlTransparent

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

wrote in message

...



Hi,
I am writing a macro to create a xlColumnStacked ChartType. I'm asking
Excel to show the series values inside the column wthout borders or
fill:


* *For i = 1 To .SeriesCollection.Count
* * *.SeriesCollection(i).ApplyDataLabels AutoText:=True, LegendKey:=
_
* * * * * * False, ShowSeriesName:=False, ShowCategoryName:=False,
ShowValue:=True
* * *.SeriesCollection(i).DataLabels.Border.LineStyle = xlNone
* * *.SeriesCollection(i).DataLabels.Interior.ColorInd ex = xlNone
* *Next


The graph looks exactly as I would expect: with the values within each
column stack and the column colors as the background. But, when I
print, the data lables all have white backgrounds. This shows in print
preview as well.


The Format Data Label wizard shows Area Fill = None but the white
color selection box is selected. Is there any way to show the column
colors through the data label?


Thanks,
Wendell- Hide quoted text -


- Show quoted text -


Thanks, Jon
Works fine. You have a great site too! This is just one more line of
your code in this application.

Wendell
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
Can a color background on the screen be made to print white on pap Roger Deschenes[_2_] Excel Discussion (Misc queries) 1 July 19th 07 03:28 PM
Print a data entry form without the spreadsheet as a background? CG Excel Discussion (Misc queries) 1 April 1st 06 10:18 AM
black background with white spots in the texture steve Excel Discussion (Misc queries) 0 August 6th 05 01:36 AM
Converted data to labels. The 0 in zip codes does not print Judy New Users to Excel 2 February 2nd 05 03:33 AM
can I print labels using data from an excell spreadsheet Cesspool lady Excel Discussion (Misc queries) 2 January 18th 05 06:53 AM


All times are GMT +1. The time now is 05:03 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"