Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6610753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:52:50+00:00 2026-05-25T19:52:50+00:00

what is the point of doing these: Application.ScreenUpdating = False Application.DisplayAlerts = False does

  • 0

what is the point of doing these:

Application.ScreenUpdating = False
Application.DisplayAlerts = False

does it really save that much time?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:52:50+00:00Added an answer on May 25, 2026 at 7:52 pm

    Agree.

    I have found that when you turn off ScreenUpdating, Calculation, it’s best to think about how to do as much work (writes,reads,events,…) as possible for as few ScreenUpdating calls in return. This will speed up operations while also providing the user with a better and more tolerable experience. Say, for example that you want to write some data to a sheet as fast as possible. You could do this:

    For Each row In rowDic.Keys()
        ' turn off updating
        for item in rowDic.Key(row)
            ... do some writes
        Next             
        ' turn on updating
    Next
    

    or to go faster you could do this:

    ' turn off updating
    For Each row In rowDic.Keys()
        for item in rowDic.Key(row)
            ... do some writes
        Next             
    Next
    ' turn on updating
    

    Similarly, when writing data, it’s quickest to write larger chunks, fewer times. so the ideal number of writes, if any, is one. You can do this by treating a Rangeas a 2D array[rows,cols]. I have found the following to be effective:

    ' turn off updates
    
    ' Organise data in ram so that it fits the range for which it is meant
    Dim two_d_arr (rows,cols)
    loadDataFromSource two_d_arr
    
    Dim destinationRange as Range
    destinationRange = Sheets(someSheet).Range(someRange).Value = two_d_arr
    
    Redim two_d_arr(0,0) ' !!! RELEASE MEMORY
    ' turn on updates
    

    Here, there are no loops, this optimises each individual task’s time in the CPU which results in quicker processing times and in turn seems to make excel work normally (not crash).

    HTH,

    F

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am doing manual layouting for my Cocoa application and at some point I
I have been writing a small java application (my first!), that does only a
I'm doing an application that includes reading image files and displaying them in a
Can you please suggest to me the syntax for doing floating point comparison in
We're doing a great deal of floating-point to integer number conversions in our project.
Can anyone please point out what im doing wrong with this Stored Procedure please.
I'm hoping I'm doing something wrong here and someone can point me in the
The Problem I'm writing a Cocoa application and I want to raise exceptions that
Greetings, Overflowers! I am writing an application in PHP that will allow for editing
I have a rails application that displays content that is being rendered as a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.