+ Reply to Thread
Results 1 to 2 of 2

how to control name of the Chart

  1. #1
    Forum Contributor
    Join Date
    03-11-2014
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    379

    how to control name of the Chart

    Hi all,

    By default excel will create Chart 1, Chart 2 & so on.
    I would like to stop excel from doing so.

    I am sure there will be multiple workarounds but I did not get one solution.

    Any help will be appreciated. Cheers!!!!!

    Regards,
    AM

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: how to control name of the Chart

    Hello,

    You cannot stop Excel from naming the chart. Every chart has a name, so it can be identified when using code.

    Excel creates "Chart 1" as the name for the first chart, and will then increment the number for each subsequent chart. You cannot change that.

    What you CAN do is to rename the chart. The chart name is displayed in the name box next to the formula bar when the chart is selected. You can simply edit that name and provide a name of your choice.

    Alternatively, you can create chats with VBA and assign a chart name in the macro. Jon Peltier has lots of VBA code for chart on his site. This page discusses creating charts with VBA.

    cheers, teylyn
    Last edited by teylyn; 04-10-2015 at 03:29 AM.

+ 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. [SOLVED] Dynamic control chart
    By aka1 in forum Excel Charting & Pivots
    Replies: 15
    Last Post: 08-08-2012, 02:45 PM
  2. Control Chart
    By pkang123 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-11-2008, 08:37 AM
  3. [SOLVED] Re: ActiveX control with chart
    By Tanihera in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-11-2006, 12:45 PM
  4. API for MS Chart Control
    By bill in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-12-2005, 01:05 PM
  5. How can I add a control to an Excel chart?
    By Mark in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-08-2005, 09:05 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