+ Reply to Thread
Results 1 to 5 of 5

How To Circumvent Overwrite Data Alerts

  1. #1
    Registered User
    Join Date
    04-24-2009
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    43

    How To Circumvent Overwrite Data Alerts

    Dear all,

    I've just written a bit of looping vba script that generates an overwrite alert (i.e. "Output range will overwrite existing data. Press OK to overwrite..."). This is fine and was purposely built into the script, but I want to be able to automatically ignore these alerts and loop through the script unhindered.

    Any help would be gratefully appreciated
    Last edited by carbonboywonder; 04-25-2009 at 11:18 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How To Circumvent Overwrite Data Alerts

    Soooo ... modify the code you wrote before to not give the alerts under whatever circumstance is appropriate.

    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    04-24-2009
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: How To Circumvent Overwrite Data Alerts

    Apologies for being a VBA numpty but not sure how to do this. I was kind of hoping that there would be a single line of code that suppressed these messages.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How To Circumvent Overwrite Data Alerts

    Maybe there is, but how would we know without seeing the code you wrote?

  5. #5
    Registered User
    Join Date
    04-24-2009
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: How To Circumvent Overwrite Data Alerts

    I've sussed this now by clearing the cell contents before the next loop

+ 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