LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default global formatting of legend keys

Post on top, as is customary in these groups, to make it easier to follow
the thread chronologically.

every time i wan't to do this i have to create a macro?


Put this macro into your Personal.xls workbook, add a button to a toolbar
somewhere, and attach the macro to the button. It will always be available.

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


"Yossi evenzur" wrote in message
...


"Peter T" wrote:

Try this macro -

Sub NoSeriesBorders()
Dim cht As Chart
Dim sr As Series

On Error Resume Next
Set cht = ActiveChart
On Error GoTo 0

If cht Is Nothing Then
MsgBox "No Chart is selected"
Exit Sub
End If

For Each sr In cht.SeriesCollection
sr.Border.ColorIndex = xlNone
' or
' sr.Border.LineStyle = xlNone
Next

End Sub

There's no undo but you could change xlNone to xlAutomatic to reset
borders

Regards,
Peter T

"Yossi evenzur" <Yossi wrote in
message
...
Hi
In a chart i have multiple legend keys, as a result all colors are not
visible because the columns are thin and border line black, thus i can
see
only black columns. i can format each key manually but if i have 200
keys

it
would never end, how can change the border option from automatic to
none?



every time i wan't to do this i have to create a macro?



 
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
Formatting a Legend in a chart (superscripting) Phrank Excel Discussion (Misc queries) 1 January 19th 07 03:14 AM
"Global" Cell Formatting Philma Excel Discussion (Misc queries) 5 August 15th 06 08:19 PM
Formatting Legend Key Markers Barb Charts and Charting in Excel 1 October 10th 05 09:23 PM
Formatting Legend sanwijay Charts and Charting in Excel 3 September 15th 05 04:46 AM
Can I change legend keys to rectangular instead of square in exce. BlondRapunzil Charts and Charting in Excel 2 March 17th 05 10:05 AM


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