+ Reply to Thread
Results 1 to 1 of 1

Can't make VBA to work properly

  1. #1
    Registered User
    Join Date
    12-10-2010
    Location
    Singapore
    MS-Off Ver
    MS Excel for Mac 2011
    Posts
    51

    Can't make VBA to work properly

    BACKGROUND
    I'm trying to attach labels to data points in my xy scatter chart (see sheet: 'Graph - per role'). The label-data (see sheet: 'Form') are to contain names from column C; the X and Y values are in respectively column D and E.

    Whilst XLS doesn't provide the possibility to add labels to data points in a XY scatter chart, I've searched for solutions and found a macro (see sheet 'Macro') and included it. So far, so good.

    LIMITED and ONLY PARTLY CORRECT SOLUTION
    Whilst the macro does attach (name) labels to the data points, it does not provide the correct (name) labels. This is likely caused because I do not use all names from column C for the scatter graph, but make a selection of names through a filter in column B.

    ISSUE
    • The graph does present the correct (x&y) data points of filtered column D and E.
    • But, the filtered data points do not have the correct (name) labels attached.
    • Instead of attaching the 9 selected/filtered names from the list of 100 names in column C, the macro picks the 9 names from the top of column C, ignoring the filter selection made in column B.

    QUESTION
    Since I'm totally inexperienced with writing macro's, let alone adjusting them, can anyone help me to fix the macro?

    Help is greatly appreciated.
    Attached Files Attached Files

+ 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. Cannot seem to get this formula to work properly
    By doran79 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-17-2014, 08:36 PM
  2. [SOLVED] Trying to make a recorded macro work properly
    By Nick12 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-05-2012, 11:56 AM
  3. [SOLVED] How can I fix this macro to work properly?
    By denisirio in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-19-2012, 09:27 AM
  4. How to make makros work properly when sheet is protected
    By Maiab in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2012, 09:33 AM
  5. Replies: 9
    Last Post: 04-18-2006, 08:15 AM
  6. Why does this filter not work properly
    By cj21 in forum Excel General
    Replies: 6
    Last Post: 03-29-2006, 04:30 PM
  7. [SOLVED] Make Excel opnening CSV files work properly again.
    By EJO in forum Excel General
    Replies: 3
    Last Post: 12-07-2005, 10:55 AM
  8. [SOLVED] How do I make 'save as web page' with interactivity work properly.
    By Giasemi in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-06-2005, 12:06 PM

Tags for this Thread

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