+ Reply to Thread
Results 1 to 6 of 6

OLEVERB on chart

  1. #1
    Registered User
    Join Date
    10-12-2017
    Location
    Montréal
    MS-Off Ver
    2010
    Posts
    6

    OLEVERB on chart

    Hello everybody,

    I have a program made to generate a chart. The source of that chart is displayed this way : two columns to take, two to ignore, two columns to take etc.
    The program runs pefectly with any sheet I used it on but as soon as there is more than a certain amount of colums (36 exactly) I get the Invalid OLEVERB structure error on the line :

    Please Login or Register  to view this content.
    I have been looking for that error and similar cases on the internet for two days now but I feel like its a hard one and that its really a case by case thing.

    Here is the code that generate that error :
    Please Login or Register  to view this content.
    I have no clue where is the problem from because to me that error means that I go over the limit for an object but my range is not that big so...

    I hope that its clear and that someone will be able to help.
    Thank you for reading and don't hesitate if I have to be more specific.

    Regards

  2. #2
    Registered User
    Join Date
    10-12-2017
    Location
    Montréal
    MS-Off Ver
    2010
    Posts
    6

    Re: OLEVERB on chart

    https://www.excelforum.com/excel-pro...ing-chart.html

    I found this on the forum.
    That person talks about 360 cells which is the exact same case as me.

    My range is 10*36 cells and when under that amount there is no error.

    I am in the same case, google is not helpful so I really rely on you guys.

    Thank you

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: OLEVERB on chart

    Hi,

    Can you rearrange your data so that the ranges are contiguous rather than every 4th column? I have a feeling you may be running into an issue with the length of the resulting SERIES formula due to your discontiguous ranges.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  4. #4
    Registered User
    Join Date
    10-12-2017
    Location
    Montréal
    MS-Off Ver
    2010
    Posts
    6

    Re: OLEVERB on chart

    Hi,

    That's what I think too but my data needs to be arranged that way to be easy to read.

    Maybe there is an other solution than the union range for my chart source that I don't know ?

  5. #5
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: OLEVERB on chart

    Perhaps you could copy and paste it elsewhere for use with the chart while maintaining the readable table?

  6. #6
    Registered User
    Join Date
    10-12-2017
    Location
    Montréal
    MS-Off Ver
    2010
    Posts
    6

    Re: OLEVERB on chart

    Didn't think of that, it will probably work.
    I am a bit bothered by the extra step but thank you for that solution.

    I think you are right about the discontinuous range. It doesn't look like that error is due to the quantity of data because I've tried to run my program with 50+ rows and everything goes well.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 01-07-2015, 01:22 PM
  2. Chart order in trad. Pivot Chart vs. PowerPivot chart
    By mr_jules in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-06-2015, 11:17 AM
  3. Automation Error: Invalid Oleverb Structure when Creating Chart
    By Sharanya in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-07-2013, 04:56 PM
  4. Replies: 5
    Last Post: 12-05-2012, 12:07 PM
  5. Replies: 5
    Last Post: 08-08-2011, 02:09 PM
  6. can we combine line chart and colum chart in one chart
    By reedzhou in forum Excel General
    Replies: 1
    Last Post: 06-20-2011, 10:03 PM
  7. Replies: 2
    Last Post: 08-07-2006, 09:45 PM

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