+ Reply to Thread
Results 1 to 6 of 6

setting displayalerts to false doesnt work

  1. #1
    Registered User
    Join Date
    12-30-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    20

    setting displayalerts to false doesnt work

    I am trying to program the worksheet in such a way that when it is opened regardless of whether it is opened by another person it shouldnt show the display alert instead it should open the worksheet and run the code.
    But now after running the first 2 lines, when i check status in the immediate window it still shows displayalert and screenupdating status as true. why is it so? Anyone can enlighten me???

    Please Login or Register  to view this content.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: setting displayalerts to false doesnt work

    Application.DisplayAlerts = False

    It is an application setting which can be controlled from any of the excel workbook.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    12-30-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: setting displayalerts to false doesnt work

    Application.DisplayAlerts = False
    Above code is not working for me. For some reason even after i run this line displayalert property is still set to true.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: setting displayalerts to false doesnt work

    Quote Originally Posted by mekha View Post
    Application.DisplayAlerts = False
    Above code is not working for me.
    [FONT=Arial]Enter this in immediate window after turning off the display alerts

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    12-30-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: setting displayalerts to false doesnt work

    When i run the code after 'Application.DisplayAlerts = False' is executed i checked the status in the immediate window and it shows TRUE.
    then i tried to set 'Application.DisplayAlerts = False' status through immediate window and checked the status in immediate window. The status is changed to FALSE. Do not know why it doesnt work when i run the code...

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: setting displayalerts to false doesnt work

    It's working perfectly!

    As I said earlier turning off the alerts is relates to application which can be turned on by running some other code.

    So check whether any of the other codes which may turn it on while running

+ 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 does not work
    By tryer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2013, 10:23 AM
  2. Statement: "Application.DisplayAlerts = False" doesn't work for me
    By CEC in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2011, 11:11 AM
  3. Application.DisplayAlerts = False
    By Jim May in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-18-2006, 12:35 PM
  4. Where to put DisplayAlerts = False
    By Joe Fish in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-22-2005, 05:05 PM
  5. DisplayAlerts and ScreenUpdate will not set to False
    By Joe at Baso in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-05-2005, 03:06 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