+ Reply to Thread
Results 1 to 2 of 2

Error "Invalid Parameter" in Charting VBA Code

  1. #1
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Error "Invalid Parameter" in Charting VBA Code

    Been trying to figure out what the reason caused the "Invalid Parameter" error for the past 20 minutes... and still clueless. Anyway, In my worksheet I have 2 charts. In my VBA code, I defined both chart with individual seriescollection (SeriesCollection(1) for chart one and SeriesCollect(2) for chart two). However, I kept getting the Invalid Parameter at line ChtObjTELCO.Chart.SeriesCollection(2).Values = Range(Cells(UserRow, 8), Cells(UserRow, 9)) and to be honest, I can't figure it out why.

    Any help is appreciated.

    Below is my code and I have attached a sample workbook
    Please Login or Register  to view this content.
    Last edited by JieJenn; 12-21-2011 at 02:37 PM.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Kept Gettint Error "Invalid Parameter" in my Charting VBA Code

    Never mind. Figure it out by an accident. Didn't realize one SeriesCollection can store several set of values

    Please Login or Register  to view this content.

+ 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