+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Stop message from popping up when deleting worksheet.

  1. #1
    Forum Contributor
    Join Date
    12-03-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    184

    Stop message from popping up when deleting worksheet.

    I have a macro that clears my workbook when run. Part of this also deletes worksheets. I get a message asking if I realy want to delete the sheet because it may contain data, is there a way to automaticaly answer yes in the script or stop the message from happening.

    thx
    E
    Last edited by enhydra; 12-15-2009 at 01:22 PM.

  2. #2
    Forum Contributor
    Join Date
    12-03-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    184

    Re: Stop message from popping up when deleting worksheet.

    Found the answer.

    Application.DisplayAlerts = False
    Application.DisplayAlerts = True



    Thanks
    E

+ 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