+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    5,829

    Xl 2007 VBA applying round dot format to chart series

    Hi,

    Does anyone know the syntax for formatting a chart series plot line as 'round dot'.

    I've tried all sorts of variations and additions to
    Code:
    Activechart.SeriesCollection(2).format. .......
    with no luck and most unhelpfully the macro recorder is no use.

    Also tried intellisensing via the MS help, but it must be me since no help is forthcoming. I've seen references by Andy and Jon in other areas of the web which seem to suggest some are harder to discover than others.

    Is there a document anywhere which summarises this sort of stuff?

    Usual TIA
    Richard Buttrey

    If this was useful then please rate it appropriately.

    Click the small star icon at the bottom left of my post.

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    5,829

    Re: Xl 2007 VBA applying round dot format to chart series

    Ah.... re the last post.

    I've found the syntax....

    Code:
    Activechart.SeriesCollection(2).Format.Line.Dashstyle=msolinerounddot
    seems to work. Now all I want to find is the instruction that sets the width of the dots.....

    Rgds
    Richard Buttrey

    If this was useful then please rate it appropriately.

    Click the small star icon at the bottom left of my post.

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944

    Re: Xl 2007 VBA applying round dot format to chart series

    try,

    Code:
        objSeries.Format.Line.Weight = 12
    Cheers
    Andy
    www.andypope.info

  4. #4
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    5,829

    Re: Xl 2007 VBA applying round dot format to chart series

    Cheers Andy,
    Richard Buttrey

    If this was useful then please rate it appropriately.

    Click the small star icon at the bottom left of my post.

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