+ Reply to Thread
Results 1 to 2 of 2

Thread: Chart Marker Border

  1. #1
    Registered User
    Join Date
    03-26-2010
    Location
    San Francisco
    MS-Off Ver
    Excel 2007
    Posts
    1

    Chart Marker Border

    Hello,

    My Excel Version is 2007.

    I am trying to recreate a Chart programatically via VBA. I want to change the border type of single marker but cannot figure out how to do it. The Excel.Point object does not seem to have properties to change the Marker Border style, even though I can do it manually in Excel.
    I tried to record a macro which does it, but no code is being written. I can only guess that the libraries not yet support that feature, but is there any way to change the border of a single point (marker)?

    Thank you so much!
    Thomas

  2. #2
    Forum Guru
    Join Date
    10-28-2008
    Location
    Not here anymore
    MS-Off Ver
    irrelevant
    Posts
    10,150

    Re: Chart Marker Border

    Hello Thomas,
    here are a few pointers

        ActiveChart.SeriesCollection(1).Select
        With Selection
            .MarkerStyle = 2
            .MarkerSize = 7
        End With
        With Selection.Format.Fill
            .Visible = msoTrue
            .ForeColor.ObjectThemeColor = msoThemeColorAccent2
            .ForeColor.TintAndShade = 0
            .ForeColor.Brightness = 0.400000006
            .Transparency = 0
            .Solid
        End With
        With Selection.Format.Line
            .Visible = msoTrue
            .ForeColor.ObjectThemeColor = msoThemeColorAccent5
            .ForeColor.TintAndShade = 0
            .ForeColor.Brightness = -0.25
            .Transparency = 0
            .Weight = 1
            .DashStyle = msoLineSysDot
        End With

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0