+ Reply to Thread
Results 1 to 4 of 4

VBA for chart title

  1. #1
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    VBA for chart title

    Hello.. I'm trying to get some text as well as a R1C1 for the chart title. I'm stuck on how to do it. I've tried & I've Googled but.
    The R1C1 bit works on it's own. But when I try to add the text it either throws an error or the title stays blank on the chart

    Any ideas please
    Please Login or Register  to view this content.
    Or something like that I would guess
    Thanks
    Last edited by Philb1; 11-17-2011 at 05:09 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: VBA for chart title

    Do you need to do it via VBA? You can directly do it in excel. It will be good if you post a sample workbook and we can help you out faster.

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

    Re: VBA for chart title

    You can not do post things. You either link the chart title to a cell, which will display the contents of the cell. Or you set the text to be static based on the contents of the cell and some appended text.

    Please Login or Register  to view this content.
    The rc notation will only work is that is the setting being used.
    Cheers
    Andy
    www.andypope.info

  4. #4
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: VBA for chart title

    That would explain why I couldn't do it
    Thanks Andy, you are a mine of information
    Please Login or Register  to view this content.
    In the cell did the trick
    Cheers
    Phil

+ 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