+ Reply to Thread
Results 1 to 2 of 2

Add Chart Title for All Chart Sheets

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    Singapore
    MS-Off Ver
    Microsoft Office Pro Plus or Excel 2007
    Posts
    76

    Add Chart Title for All Chart Sheets

    Using Excel 2007

    I want to add a chart title for the chart sheets in my workbook, I tried this code but it doesn't work. Why is that so? Thank you.

    Sub AddTitle()

    Dim cht As Chart
    For Each cht In ActiveWorkbook.Charts
    cht.HasTitle = True
    .ChartTitle.Text = "Time"
    Next cht


    End Sub

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Add Chart Title for All Chart Sheets

    Hi there,

    Try:

    Please Login or Register  to view this content.
    Hope this helps - please let me know how you get on.

    Regards,

    Greg M

+ 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] Candle Stick Chart (Chart title issue?)
    By HerryMarkowitz in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-19-2014, 04:32 AM
  2. Update Chart Title using slicer to filter chart
    By redil855 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2014, 10:18 AM
  3. [SOLVED] Search Chart in worksheet by chart title and delete it
    By rename in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2012, 11:20 PM
  4. [SOLVED] Changing Chart Title reference while replicating Sheets
    By trizzo in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 04-17-2012, 12:23 PM
  5. Excel chart - how to assign the file name in the chart title?
    By TGreen in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-16-2005, 06: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