+ Reply to Thread
Results 1 to 5 of 5

VBA Chart Border: Line Join Style

  1. #1
    Registered User
    Join Date
    03-10-2024
    Location
    Berlin
    MS-Off Ver
    mac2016
    Posts
    91

    VBA Chart Border: Line Join Style

    How do you tell a Chart Border to have the Join Type "Miter"?
    I've recorded a macro (several), but this piece of info doesn't show up?

    Please Login or Register  to view this content.
    How do you integrate this:
    .JoinStyle = LineJoinStyle.Miter

    I started of with Jon Peltier's "Resizing and Moving Excel Charts with VBA":
    https://peltiertech.com/Excel/Charts...oveAChart.html
    Thank you, Jon!

    Then I recorded a macro for color and weight of the line, but I can't figure out the joint type/style.
    Attached Files Attached Files
    Last edited by briskie; 03-19-2024 at 07:29 PM.

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,223

    Re: VBA Chart Border: Line Join Style

    Excel's object model does not have a JoinStyle property for the Line object, so I don't think this line modification is possible.

    Artik

  3. #3
    Registered User
    Join Date
    03-10-2024
    Location
    Berlin
    MS-Off Ver
    mac2016
    Posts
    91

    Re: VBA Chart Border: Line Join Style

    Oh, ok. So only possible to change manually?
    It does show up in the Object Browser.
    Attached Images Attached Images

  4. #4
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,223

    Re: VBA Chart Border: Line Join Style

    The prefix "mso" in the names of constants "says" that such constants are declared (are available) at the level of the entire Office suite. But this does not yet mean that they can be used in every application of the suite. A quick web search shows that the JoinStyle property can be used in Publisher, but not in Excel.

    Artik

  5. #5
    Registered User
    Join Date
    03-10-2024
    Location
    Berlin
    MS-Off Ver
    mac2016
    Posts
    91

    Re: VBA Chart Border: Line Join Style

    Hi Artik.

    Oh, ok. Alright. I didn't find that – thank you for explaining!

    Toni

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mckinsey style chart with series line areas colored
    By Capital H in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-18-2023, 04:28 AM
  2. How to modify the width and line style of some (but not all) lines in an embedded chart?
    By lovecolorado in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-13-2019, 02:04 AM
  3. [SOLVED] Excel Border Line style works for the first time I run the code, later it shows some error
    By vidyaduttk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-14-2014, 05:41 AM
  4. [SOLVED] Chart Lengend to show marker style on hidden line - Line chart
    By etaf in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-22-2013, 05:19 PM
  5. Adding only bottom line border to chart
    By Alexander_Golinsky in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-11-2012, 02:50 AM
  6. chart(s) template changing line style
    By norton in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 11-11-2009, 05:49 AM
  7. [SOLVED] How can I add a line chart in a stacked column chart style?
    By Guilherme Loretti in forum Excel General
    Replies: 0
    Last Post: 08-02-2006, 08:50 PM

Tags for this Thread

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.6.0 RC 1