+ Reply to Thread
Results 1 to 3 of 3

Urgent! How to Resize Pointers on ScatterLine VBA Excel

Hybrid View

  1. #1
    Registered User
    Join Date
    11-19-2012
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    1

    Urgent! How to Resize Pointers on ScatterLine VBA Excel

    I've created a program that could read coil voltages. In each coil, there are 256 points. I manage to get the scatterline to work but the DOTS are too big. How to minimise or adjust the size of the dots?
    'Create Graph For Coil1
        
        
       With ActiveSheet.ChartObjects.Add _
                (Left:=110, Width:=375, Top:=55, Height:=225)
            .Chart.SetSourceData Source:=Sheets("Program").Range("A9:IV9")
            .Chart.ChartType = xlXYScatterLines
            .Chart.Size = 4
       
       End With
        
       'Create Graph Heading For Coil1
       With Worksheets("Program").ChartObjects(1).Chart
            .HasTitle = True
            .ChartTitle.Text = "Coil 1"
            
       End With
    Last edited by JosephP; 11-20-2012 at 04:25 AM. Reason: add code tags

  2. #2
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: Urgent! How to Resize Pointers on ScatterLine VBA Excel

    Try using:
    With ActiveSheet.ChartObjects.Add _
    (Left:=110, Width:=375, Top:=55, Height:=225)
    .Chart.SetSourceData Source:=Sheets("Program").Range("A9:IV9")
    .Chart.ChartType = xlXYScatterLines
    .Chart.Size = 4
    .MarkerSize = 2 ' <=== Adapt size to suit
    End With

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Urgent! How to Resize Pointers on ScatterLine VBA Excel

    I'm afraid your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    you also need to learn to use code tags but I will add them for you on this occasion
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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