Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

MS Excel -- Application.DisplayAlerts=False

Discussion in 'Information Technology' started by Rubble, Nov 18, 2005.

  1. Rubble

    Rubble
    Expand Collapse
    Guest

    In Excel I can write Application.DisplayAlerts=False and it stops all of the
    alerts from interrupting my code. Is there a similar piece of code in Access
    that will stop Alerts from interrupting my programs?

    I know I can also control alerts for my copy of Access -- but I want
    something that will only control the alerts during specific procedures.

    Thanks --

    Jim
     
  2. Loading...

    Similar Threads Forum Date
    Canada Sukhdeep Kaur Chohan of Brampton Wins PM Award for Teaching Excellence Breaking News Mar 5, 2014
    India Sikh Regiment's Passion for Excellence Breaking News May 19, 2013
    Leisure Excellence -skills-Attitude Business, Lifestyle & Leisure Feb 14, 2010
    Katha Excellent Katha by Bhai Ram Singh Kathavachak Videos Aug 8, 2009
    [SPN] Celebrating Five Years of Excellence & Learning Announcements Jun 3, 2009

  3. Larry Linson

    Larry Linson
    Expand Collapse
    Guest

    "Rubble" <Rubble@discussions.microsoft.com> wrote in message
    news:7D40CE7C-FB8D-431E-886D-6E7193ABCBEE@microsoft.com...
    > In Excel I can write Application.DisplayAlerts=False and it stops all of
    > the
    > alerts from interrupting my code. Is there a similar piece of code in
    > Access
    > that will stop Alerts from interrupting my programs?
    >
    > I know I can also control alerts for my copy of Access -- but I want
    > something that will only control the alerts during specific procedures.


    DoCmd.SetWarnings False will turn off the controllable warnings;
    DoCmd.SetWarnings True will turn them back on again. Be careful how you use
    them -- it isn't as bad as setting Echo off so the screen isn't updated and
    forgetting to set it back on, but the lack of warnings where you _want_ them
    can be problematical.

    Larry Linson
    Microsoft Access MVP
     
  4. Rubble

    Rubble
    Expand Collapse
    Guest

    Thank you !!! I couldn't figure out how to turn the warnings off !!! Super
    helpful

    "Larry Linson" wrote:

    >
    > "Rubble" <Rubble@discussions.microsoft.com> wrote in message
    > news:7D40CE7C-FB8D-431E-886D-6E7193ABCBEE@microsoft.com...
    > > In Excel I can write Application.DisplayAlerts=False and it stops all of
    > > the
    > > alerts from interrupting my code. Is there a similar piece of code in
    > > Access
    > > that will stop Alerts from interrupting my programs?
    > >
    > > I know I can also control alerts for my copy of Access -- but I want
    > > something that will only control the alerts during specific procedures.

    >
    > DoCmd.SetWarnings False will turn off the controllable warnings;
    > DoCmd.SetWarnings True will turn them back on again. Be careful how you use
    > them -- it isn't as bad as setting Echo off so the screen isn't updated and
    > forgetting to set it back on, but the lack of warnings where you _want_ them
    > can be problematical.
    >
    > Larry Linson
    > Microsoft Access MVP
    >
    >
    >
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page