+ Reply to Thread
Results 1 to 2 of 2

Labels toevoegen aan spreidingsgrafiek, foutmelding Macro

  1. #1
    Registered User
    Join Date
    07-21-2016
    Location
    Netherlands
    MS-Off Ver
    2010
    Posts
    2

    Labels toevoegen aan spreidingsgrafiek, foutmelding Macro

    hoi!

    ik wil een macro gebruiken om labels toe te voegen aan gegevenspunten in een spreidingsdiagram in Excel.
    bij het runnen van de macro krijg ik echter een foutmelding, "Fout 91 Object variabele of blok variabele With is niet ingesteld"
    Via foutopsporing wordt de volgende regel aangeduid waar het 'm in zit: xVals = ActiveChart.SeriesCollection(1).Formula
    Onderstaande macro is het geheel.
    Wie kan me hierbij helpen?

    Please Login or Register  to view this content.
    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #3 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer
    Last edited by 6StringJazzer; 07-21-2016 at 02:23 PM.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Labels toevoegen aan spreidingsgrafiek, foutmelding Macro

    Rough translation to English.
    I want to use a macro to add labels to data points in a scatter chart in Excel.
    at running the macro however I get an error message "Error 91 Object variable or With block variable not set"
    Through debugging , the following line shows where the " m is in : XVals = ActiveChart.SeriesCollection ( 1 ) .Formula
    The following macro is the whole.
    Who can help me with this?
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

+ 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. Macro for creating labels
    By phillyd023 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-08-2015, 11:45 AM
  2. [SOLVED] Excel-13 Add values in array matching specific row labels, column labels within date range
    By fadeoutagain27 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-18-2014, 03:55 PM
  3. Replies: 2
    Last Post: 04-05-2014, 06:46 PM
  4. Change chart/pivot table numeric labels to associated text labels
    By petschek in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-07-2014, 05:32 PM
  5. Pivot Table - Show Row labels horizontally (Not as Column labels)
    By Catsup in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-16-2014, 01:15 PM
  6. Replies: 0
    Last Post: 07-03-2012, 11:09 AM
  7. Replies: 2
    Last Post: 02-17-2011, 02:13 AM

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