+ Reply to Thread
Results 1 to 2 of 2

Cancelling "Open" dialog box when prompted macro

  1. #1
    Registered User
    Join Date
    04-04-2013
    Location
    Massachusetts
    MS-Off Ver
    Excel 2010
    Posts
    15

    Cancelling "Open" dialog box when prompted macro

    I have a macro that is running and part of the tasks it is completing requires a reference to some outside workbooks (the macro itself does not, but the cells that the macro is works in do). In the instance the file cannot be found an "Open" dialog box opens and asks where the destination file is while pausing the macro. I can cancel through it each time and the macro runs and the cells that couldn't make a completed reference give me a #REF, which is fine. My question is rather than having to sit and click cancel through each of these boxes while the macro is running how can I have the macro tell it to just cancel that dialog box when it opens?

    Thanks!
    Last edited by DeRo22; 05-09-2013 at 01:16 PM.

  2. #2
    Registered User
    Join Date
    04-04-2013
    Location
    Massachusetts
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Cancelling "Open" dialog box when prompted macro

    I was able to find a solution in some other threads:

    For anyone else trying to reference the solutions its not that hard.

    Application.DisplayAlerts = 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