Advertisement

02.20.2008 at 10:06AM PST, ID: 23178502
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

VBA Chart Format Data Series

Tags: Microsoft, Excel, 2003
I would like to be able to format the data series for the attached formatting macro:

I would like to add a case so that GNE+Contractor is a dashed line, So that data will not be obscured if they have the same value.
I was thinking that I should insert this case into each of the formatting macros below, but I recieve errors.

Case "GNE FTE + Contractor"
.SeriesCollection(lngIndex).ChartType = xlLineMarkers
.SeriesCollection(lngIndex).Chart = xlDashed Line

Any advice on how to make this function correctly?
What about defaulting the color?

Kreepa
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
Sub FormatChartSeries2()
'
' Format Demand Pivot Area Chart Series Macro
' Format the pivot chart into area charts for Active, Approved and Planned. Format is xlLineMarkers for GNE FTE and GNE FTE + Contractor. Macro recorded 1/25/2008 by kreepa
'
    Dim lngIndex As Long
    Sheets("Demand VS Supply Area Chart").Select
    With ActiveChart
        For lngIndex = 1 To .SeriesCollection.Count
            Select Case .SeriesCollection(lngIndex).Name
                Case "Active", "Approved", "Planned"
                    .SeriesCollection(lngIndex).ChartType = xlAreaStacked
                    .HasTitle = True
                    .ChartTitle.Text = "='Demand Pivot'!R8C2"
                Case Else
                    .SeriesCollection(lngIndex).ChartType = xlLineMarkers
            End Select
        Next lngIndex
    
    End With
    
End Sub
Sub FormatChartSeries3()
'
' Format Demand Pivot Column Chart Series Macro
' Format the pivot chart into area charts for Active, Approved and Planned. Format is xlLineMarkers for GNE FTE and GNE FTE + Contractor. Macro recorded 1/25/2008 by kreepa
'
    Dim lngIndex As Long
    Sheets("Demand VS Supply Column Chart").Select
    With ActiveChart
        For lngIndex = 1 To .SeriesCollection.Count
            Select Case .SeriesCollection(lngIndex).Name
                Case "Active", "Approved", "Planned"
                    .SeriesCollection(lngIndex).ChartType = xlColumnClustered
                    .HasTitle = True
                    .ChartTitle.Text = "='Demand Pivot'!R8C2"
                Case Else
                    .SeriesCollection(lngIndex).ChartType = xlLineMarkers
            End Select
        Next lngIndex
    
    End With
    
End Sub
 
Sub FormatChartSeries4()
'
' Format Trial Type Column Chart Series Macro
' Format the pivot chart into area charts for Active, Approved and Planned. Format is xlLineMarkers for GNE FTE and GNE FTE + Contractor. Macro recorded 1/25/2008 by kreepa
'
    Dim lngIndex As Long
    Sheets("Trial Type Chart").Select
    With ActiveChart
        For lngIndex = 1 To .SeriesCollection.Count
            Select Case .SeriesCollection(lngIndex).Name
                Case "GNE FTE", "GNE FTE + Contractor"
                    .SeriesCollection(lngIndex).ChartType = xlLineMarkers
                    .HasTitle = True
                    .ChartTitle.Text = "='Trial Type Pivot'!R8C2"
                Case Else
                    .SeriesCollection(lngIndex).ChartType = xlColumnStacked
            End Select
        Next lngIndex
    
    End With
    
End Sub
Start your free trial to view this solution
Question Stats
Zone: Software
Question Asked By: kreepa
Solution Provided By: weellio
Participating Experts: 1
Solution Grade: A
Views: 110
Translate:
Loading Advertisement...
02.20.2008 at 11:14AM PST, ID: 20940807

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 11:34AM PST, ID: 20941000

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 04:17PM PST, ID: 20943699

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 04:19PM PST, ID: 20943730

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 04:24PM PST, ID: 20943782

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 04:58PM PST, ID: 20943979

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 04:59PM PST, ID: 20943989

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 05:02PM PST, ID: 20944001

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 05:15PM PST, ID: 20944046

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 05:27PM PST, ID: 20944115

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 05:28PM PST, ID: 20944125

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 05:39PM PST, ID: 20944185

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 06:08PM PST, ID: 20944341

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628