+ Reply to Thread
Results 1 to 4 of 4

Say yes to all (or ignore) diagolue pop ups in macro

  1. #1
    Registered User
    Join Date
    09-04-2014
    Location
    Sydney, Australia
    MS-Off Ver
    2013
    Posts
    52

    Question Say yes to all (or ignore) diagolue pop ups in macro

    Hi all,

    I have a macro that runs by opening up a template and updating info for a number of files.
    Every time I run it however, a dialogue box comes up for every sheet saying '.... files is already open. Are you sure to want to open.'
    How do I make my macro say yes to all or ignore the dialogue box?
    This is my code -
    Please Login or Register  to view this content.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Say yes to all (or ignore) diagolue pop ups in macro

    You could try:
    Please Login or Register  to view this content.
    before and set it to True after.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    09-04-2014
    Location
    Sydney, Australia
    MS-Off Ver
    2013
    Posts
    52

    Re: Say yes to all (or ignore) diagolue pop ups in macro

    I will try that, where exactly in my code do I insert it though?

    Thanks TMS

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Say yes to all (or ignore) diagolue pop ups in macro

    False before the code that generates the dialogue, True after it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 12
    Last Post: 07-04-2013, 07:26 AM
  2. [SOLVED] VBA Macro - Alteration of current macro to ignore hidden cells :)
    By Defratos in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-14-2013, 07:45 AM
  3. Macro - Ignore Cells with a value in?
    By revenge4ash89 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-09-2011, 12:17 PM
  4. Macro tweak to ignore header row. +macro to copy from one sheet to another
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-16-2011, 03:21 PM
  5. Macro to ignore certain worksheets
    By erikab121 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2010, 02:39 PM

Tags for this Thread

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