Closed Thread
Results 1 to 3 of 3

Thread: Confirm Delete Message Disable

  1. #1
    RiosPapa
    Guest

    Confirm Delete Message Disable

    When I delete a sheet which has data I get the standared confirmation dialog
    allowing me to delete or cancel. This is a problem because I would like to do
    this from a remote VB pgrogam.

    Is there a way to disable this dialog ?

  2. #2
    Alan
    Guest

    Re: Confirm Delete Message Disable

    Try,

    Application.DisplayAlerts = False
    'Your code to do your thing
    Application.DisplayAlerts = True

    Regards,
    Alan
    "RiosPapa" <RiosPapa@discussions.microsoft.com> wrote in message
    news:35D5C93D-5EEA-4EDD-9463-E2E845E01933@microsoft.com...
    > When I delete a sheet which has data I get the standared confirmation
    > dialog
    > allowing me to delete or cancel. This is a problem because I would like to
    > do
    > this from a remote VB pgrogam.
    >
    > Is there a way to disable this dialog ?




  3. #3
    RiosPapa
    Guest

    Re: Confirm Delete Message Disable

    Yes this did the trick, thankyou for the timely and accurate support,
    Have a great day

    "Alan" wrote:

    > Try,
    >
    > Application.DisplayAlerts = False
    > 'Your code to do your thing
    > Application.DisplayAlerts = True
    >
    > Regards,
    > Alan
    > "RiosPapa" <RiosPapa@discussions.microsoft.com> wrote in message
    > news:35D5C93D-5EEA-4EDD-9463-E2E845E01933@microsoft.com...
    > > When I delete a sheet which has data I get the standared confirmation
    > > dialog
    > > allowing me to delete or cancel. This is a problem because I would like to
    > > do
    > > this from a remote VB pgrogam.
    > >
    > > Is there a way to disable this dialog ?

    >
    >
    >


Closed 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.2.0