A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

change line formatting in line chart - Excel 2007



 
 
Thread Tools Display Modes
  #1  
Old August 26th, 2009, 08:55 PM posted to microsoft.public.excel.charting
LisaK
external usenet poster
 
Posts: 143
Default change line formatting in line chart - Excel 2007

I have a user who has a chart with 40+ lines. He know how to change the
width of a line, but needs to do this with all the lines in this chart. Is
there a way to change the thickness of all the lines in the chart at one
time? This is a pivot chart in Excel 2007. Thank you.
  #2  
Old August 27th, 2009, 11:09 AM posted to microsoft.public.excel.charting
Andy Pope
external usenet poster
 
Posts: 2,088
Default change line formatting in line chart - Excel 2007

Hi,

Each series needs to be formatted individually.
You code use code to speed things up.

You might also be able to set up a chart template, not 100% sure the
template get applied correctly to a pivot chart.
You will need to format a chart with +40 lines change the line thickness and
then save as template.
You can then apply that template to other charts.

This line of code in the immediate window will set the weight of all lines
in the activechart.

for i=1 to
activechart.SeriesCollection.count:activechart.Ser iesCollection(i).format.line.weight=4.5:next
i

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"LisaK" wrote in message
...
I have a user who has a chart with 40+ lines. He know how to change the
width of a line, but needs to do this with all the lines in this chart.
Is
there a way to change the thickness of all the lines in the chart at one
time? This is a pivot chart in Excel 2007. Thank you.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:37 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.