+ Reply to Thread
Results 1 to 4 of 4

application.displayalerts false not working in ThisWorkbook

  1. #1
    Forum Contributor
    Join Date
    10-26-2018
    Location
    Vienna, Austria
    MS-Off Ver
    2016 professional
    Posts
    148

    application.displayalerts false not working in ThisWorkbook

    Dear Users,


    I need to have a code in the "ThisWorkbook" object so that runs each time the file is opened.

    I does some procedures in the same workbook and then opens another workbook and collects data from that.

    In order to have that automated I would need to switch application.displayalerts to false.

    till now I had no problem with that but that is the first time I have it in "ThisWorkbook" .

    I tried to investigate and it has to be with get and let (property?)...


    can anyone tell me why the code gets stuck right at the beginning at displayalerts?

    please see the file attached.



    thank you indeed for your help!
    Attached Files Attached Files

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: application.displayalerts false not working in ThisWorkbook

    Hi there,

    Knee-jerk and untested suggestion, but try :

    Please Login or Register  to view this content.

    Hope this helps - please let me know how you get on.

    Regards,

    Greg M
    Last edited by Greg M; 10-09-2019 at 08:34 AM.

  3. #3
    Forum Contributor
    Join Date
    10-26-2018
    Location
    Vienna, Austria
    MS-Off Ver
    2016 professional
    Posts
    148

    Re: application.displayalerts false not working in ThisWorkbook

    Hi Greg


    on These occasions I hate myself. But I love you


    thank you indeed it worked...

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: application.displayalerts false not working in ThisWorkbook

    Hi again,

    Many thanks for your very prompt feedback and also for the Reputation increase - much appreciated!

    You're welcome - glad I was able to help.

    Best regards,

    Greg M

+ 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. [SOLVED] Application.DisplayAlerts = False not setting
    By Andrew Entee in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 01-31-2018, 10:00 AM
  2. A bug which Inputs Application.DisplayAlerts = False As part of the spreadsheet
    By starlev in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-24-2014, 10:16 AM
  3. [SOLVED] Application.DisplayAlerts = False Doesn't work
    By Hiawatha in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-20-2014, 11:15 AM
  4. [SOLVED] Application.DisplayAlerts = False does not work
    By tryer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2013, 10:23 AM
  5. [SOLVED] Disable Run-Time Errors "Application.DisplayAlerts = False" Not Working
    By Punx in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-12-2012, 03:03 PM
  6. Application.DisplayAlerts = False showing True
    By SOS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2008, 06:36 AM
  7. Application.DisplayAlerts = False
    By Jim May in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-18-2006, 12:35 PM

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