+ Reply to Thread
Results 1 to 3 of 3

Turn Off Alert Before Overwriting Message Box

  1. #1
    JR_06062005
    Guest

    Turn Off Alert Before Overwriting Message Box

    In a macro I save a workbook which overwrites another. The problem is every
    time the macro is excuted, I get a message box asking if I want to overwrite
    the existing file. Is there a way to turn this message off?

    I've tried placing the following in my macro, but it has no effect:
    Application.AlertBeforeOverwriting = False



  2. #2
    Bob Phillips
    Guest

    Re: Turn Off Alert Before Overwriting Message Box

    Try preceding with

    Application.DisplayAlerts = False

    and set back to True afterwards

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "JR_06062005" <[email protected]> wrote in message
    news:[email protected]...
    > In a macro I save a workbook which overwrites another. The problem is

    every
    > time the macro is excuted, I get a message box asking if I want to

    overwrite
    > the existing file. Is there a way to turn this message off?
    >
    > I've tried placing the following in my macro, but it has no effect:
    > Application.AlertBeforeOverwriting = False
    >
    >




  3. #3
    JR_06062005
    Guest

    Re: Turn Off Alert Before Overwriting Message Box

    That works. Thanks

    "Bob Phillips" wrote:

    > Try preceding with
    >
    > Application.DisplayAlerts = False
    >
    > and set back to True afterwards
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > (remove nothere from email address if mailing direct)
    >
    > "JR_06062005" <[email protected]> wrote in message
    > news:[email protected]...
    > > In a macro I save a workbook which overwrites another. The problem is

    > every
    > > time the macro is excuted, I get a message box asking if I want to

    > overwrite
    > > the existing file. Is there a way to turn this message off?
    > >
    > > I've tried placing the following in my macro, but it has no effect:
    > > Application.AlertBeforeOverwriting = False
    > >
    > >

    >
    >
    >


+ 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