+ Reply to Thread
Results 1 to 3 of 3

VBA charts work fine in excel 2013 but not in excel 2010

  1. #1
    Forum Contributor
    Join Date
    12-25-2011
    Location
    Lahore, Punjab, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    287

    VBA charts work fine in excel 2013 but not in excel 2010

    Hello again,

    I have charts working fine in Excel 2013 with following code;

    Please Login or Register  to view this content.
    Consider I have figures in range D12:H12 only. Now I want the chart to be plotted for period ranging from columns D to H only. and this works in excel 2013.

    But in excel 2010, this thing plots chart from Column D to Column CY irrespective of the fact the data is only present in range D12:H12.

    What thing can be wrong here?

  2. #2
    Forum Contributor
    Join Date
    12-25-2011
    Location
    Lahore, Punjab, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    287

    Re: VBA charts work fine in excel 2013 but not in excel 2010

    Hello

    I just want to replace .....Range("D12:CY12").... with something auto range. So if data is in say, D12:H12 cells, then the chart should automatically select only these cells and not plot all Range("D12:CY12").

    Range("D12:CY12") is just the maximum range that this chart must plot.

    Thank you

  3. #3
    Forum Contributor
    Join Date
    12-25-2011
    Location
    Lahore, Punjab, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    287

    Re: VBA charts work fine in excel 2013 but not in excel 2010

    Any solution!!!

+ 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. Macros written in Excel 2010 don't work in Excel 2013
    By Bukovnik in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 09-03-2015, 01:24 AM
  2. Code created in Excel 2010 does not work with Excel 2013
    By Steve@Rugby in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-28-2014, 10:14 AM
  3. [SOLVED] Workbook does not work in excel 2007, but is fine in 2010
    By cath1509 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-06-2013, 02:59 PM
  4. Macros working fine on Windows (Excel 2010), but not on Mac (Excel 2011)
    By six6to8eight in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 01-29-2012, 11:12 PM
  5. Replies: 0
    Last Post: 07-27-2010, 12:49 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