Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: graphs

  1. #1
    New Member
    Join Date
    May 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I've recorded a marco doing some simple graph. So how that it works perfect but whenever I close the file and start again it just won't work. when I debug it the same line always wrong.
    here is the macro.
    ActiveChart.SeriesCollection(2).Values = "=MAIN!R25C16"
    Thanks.

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    Brampton
    Posts
    328
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    According to your line of code, the SeriesCollection method returns only one value. Usually the series include more than one value, expressed as a range.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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