+ Reply to Thread
Results 1 to 2 of 2

Use a chart's title in MsgBox text

  1. #1
    Registered User
    Join Date
    01-08-2009
    Location
    Austin, TX
    MS-Off Ver
    Excel 2003
    Posts
    15

    Use a chart's title in MsgBox text

    I've created a macro that looks for links in the series name and value formulas for all the charts on a given sheet. The issue is, that in practice, this macro will be run on sheets that have more than one chart. So I'll need to include the name (read Title since the actual name value excel sees isn't helpful to the general user) in the msg box I through at the end of the macro listing all the locations any such links are found so that they can be removed correctly (yes in all cases links are bad for this workbook).

    My code as it stands now is below. I've tried a couple ideas where I currently have "ActiveChart.ChartTitle.Characters.Text", but nothing I've come up with has worked thus far.

    (Side note the If statement that ends the macro is what I was using to test any ideas that I had/could find on how to capture the title and won't be in the final version)

    Thanks for any help!

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    01-08-2009
    Location
    Austin, TX
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Use a chart's title in MsgBox text

    So this was me being a bone head. I had thrown together a dummy test chart to test this macro and hadn't given the chart a name. In goes handling for nameless charts.

+ 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