+ Reply to Thread
Results 1 to 2 of 2

Error: Unable to set the XValues property of the Series class

  1. #1
    Registered User
    Join Date
    09-10-2011
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Error: Unable to set the XValues property of the Series class

    I am trying to debug code written a couple years ago by someone other than me. The code is below. I am trying to loop through several worksheets and update a chart on each sheet. I get the error, "Unable to set the XValues property of the Series class".

    Please Login or Register  to view this content.
    Here is the line that is the culprit for the error:

    Please Login or Register  to view this content.
    Any ideas of why I might get this error and how I might fix it? Thanks!

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,331

    Re: Error: Unable to set the XValues property of the Series class

    Most likely you just need single quotes round the sheet name:
    Please Login or Register  to view this content.
    Everyone who confuses correlation and causation ends up dead.

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