+ Reply to Thread
Results 1 to 7 of 7

Delete shapes in a range macro not working

  1. #1
    Registered User
    Join Date
    11-15-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    24

    Delete shapes in a range macro not working

    Hi,

    I have this macro which gives me an error: Application-defined or object-defined error. Can someone help me out?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Delete shapes in a range macro not working

    Is this also erroring ?

    Please Login or Register  to view this content.



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

    Re: Delete shapes in a range macro not working

    Guess Gantt Chart is not the active sheet.

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

  4. #4
    Registered User
    Join Date
    11-15-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Delete shapes in a range macro not working

    Andy,

    It is still giving my an error. In the line I highlighted below.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-15-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Delete shapes in a range macro not working

    Hi snb,

    I am not sure if I understand the code. Is it a full code or just part of it?

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

    Re: Delete shapes in a range macro not working

    you need to post a workbook that illustrates the problem.

  7. #7
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Delete shapes in a range macro not working

    It's full code.
    You can test it.
    But I second Andy: post a workbook.

+ 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