+ Reply to Thread
Results 1 to 4 of 4

Bypass sheets.delete confimation

  1. #1
    mpeplow
    Guest

    Bypass sheets.delete confimation

    When I use Sheets("Sheet2").Delete the macro pauses and states

    there may be data blah blah do you want to delete?

    How do I Tell the macro to auto click yes?

  2. #2
    Ron de Bruin
    Guest

    Re: Bypass sheets.delete confimation

    Hi mpeplow

    Use

    Application.DisplayAlerts = False
    Delete code
    Application.DisplayAlerts = True


    --
    Regards Ron de Bruin
    http://www.rondebruin.nl



    "mpeplow" <[email protected]> wrote in message
    news:[email protected]...
    >
    > When I use Sheets("Sheet2").Delete the macro pauses and states
    >
    > there may be data blah blah do you want to delete?
    >
    > How do I Tell the macro to auto click yes?
    >
    >
    > --
    > mpeplow
    > ------------------------------------------------------------------------
    > mpeplow's Profile: http://www.excelforum.com/member.php...o&userid=34812
    > View this thread: http://www.excelforum.com/showthread...hreadid=569623
    >




  3. #3
    Ron de Bruin
    Guest

    Re: Bypass sheets.delete confimation

    Hi mpeplow

    Use

    Application.DisplayAlerts = False
    Delete code
    Application.DisplayAlerts = True


    --
    Regards Ron de Bruin
    http://www.rondebruin.nl



    "mpeplow" <[email protected]> wrote in message
    news:[email protected]...
    >
    > When I use Sheets("Sheet2").Delete the macro pauses and states
    >
    > there may be data blah blah do you want to delete?
    >
    > How do I Tell the macro to auto click yes?
    >
    >
    > --
    > mpeplow
    > ------------------------------------------------------------------------
    > mpeplow's Profile: http://www.excelforum.com/member.php...o&userid=34812
    > View this thread: http://www.excelforum.com/showthread...hreadid=569623
    >




  4. #4
    Ron de Bruin
    Guest

    Re: Bypass sheets.delete confimation

    Hi mpeplow

    Use

    Application.DisplayAlerts = False
    Delete code
    Application.DisplayAlerts = True


    --
    Regards Ron de Bruin
    http://www.rondebruin.nl



    "mpeplow" <[email protected]> wrote in message
    news:[email protected]...
    >
    > When I use Sheets("Sheet2").Delete the macro pauses and states
    >
    > there may be data blah blah do you want to delete?
    >
    > How do I Tell the macro to auto click yes?
    >
    >
    > --
    > mpeplow
    > ------------------------------------------------------------------------
    > mpeplow's Profile: http://www.excelforum.com/member.php...o&userid=34812
    > View this thread: http://www.excelforum.com/showthread...hreadid=569623
    >




+ 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