+ Reply to Thread
Results 1 to 3 of 3

Naming and Titling a Chart with VBA

  1. #1
    Registered User
    Join Date
    01-09-2012
    Location
    Sioux Center, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    2

    Naming and Titling a Chart with VBA

    To those who might help me:

    I am new to programming macros and am learing painfully by experience. I have set up a macro to extract data into a chart, but found that in order to use the macro successfully I had to re-name the chart such that Excel's natural sequential naming process does not interfere. I have read up on some of the forums on how to do this, and have attempted several times, however it trips the debugger every time. I have also tried to apply a title to the chart, and was summarily foiled as well. I am uncertain what I am doing incorrectly, and I would be greatly appreciative of any responses and aid you might offer!

    Please Login or Register  to view this content.
    Last edited by IowaIrishman; 01-10-2012 at 12:13 PM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482

    Re: Naming and Titling a Chart with VBA

    You need to set the name of the parent object.
    You need to add a title before you can set the text.

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    01-09-2012
    Location
    Sioux Center, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Naming and Titling a Chart with VBA

    Thanks Andy! I'm learning slowly by degrees. I appreciate your time helping me out!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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