LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro that changes line styles based on the series' name


Hi,

I have a question regarding changing the line styles in a graph with a
macro.

There are several series in the graph, however, they are named either
"SOT_*" or "EOT_*" . * being the rest of the series name.

Currently, all of the lines are solid. But I wish to change all the
series with the prefix EOT to dashed and leave the others as they are.

How do I create a macro loop code that looks for the prefix of the
series' name and change the line style based on the prefix?

Thanks a bunch!


--
trumptmast
------------------------------------------------------------------------
trumptmast's Profile: http://www.excelforum.com/member.php...o&userid=34305
View this thread: http://www.excelforum.com/showthread...hreadid=570058

 
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
Macro code to put series name next to individual line in line grap Otani Charts and Charting in Excel 3 February 23rd 10 07:24 PM
Is there a font that contain the Excel chart series marker styles Dreiding Charts and Charting in Excel 2 August 20th 07 07:47 PM
macro for fixed color lines in line chart based on series name sm Charts and Charting in Excel 1 November 13th 06 09:31 AM
Chart line styles Alwi Charts and Charting in Excel 1 June 19th 06 11:13 PM
Line styles for Cell Borders Carl Excel Discussion (Misc queries) 1 December 2nd 04 04:28 AM


All times are GMT +1. The time now is 10:53 AM.

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

About Us

"It's about Microsoft Excel"