+ Reply to Thread
Results 1 to 2 of 2

Delete the chart if already exists

  1. #1
    Forum Contributor
    Join Date
    10-01-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    125

    Delete the chart if already exists

    Hi,

    I have to run a macro which has to check first if chart with name "Jan1" already exists in workbook. If exists, it has to delete it.

    Can any one help me on this?

    Thanks in advance

  2. #2
    Valued Forum Contributor blane245's Avatar
    Join Date
    02-20-2009
    Location
    Melbourne, FL
    MS-Off Ver
    Excel 2010
    Posts
    649

    Re: Delete the chart if already exists

    Put this code in the ThisWorkBook object in VBA. It will delete the chart named "Jan1" while not asking for confirmation.
    Please Login or Register  to view this content.
    Bob
    Click my star if my answer helped you. Mark the thread as [SOLVED] if it has been.

+ 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