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 8721019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:09:16+00:00 2026-06-13T07:09:16+00:00

In Excel 2010 the method described below, the ScreenUpdating works correctly. But in 2007,

  • 0

In Excel 2010 the method described below, the ScreenUpdating works correctly. But in 2007, it doesnt flip and the worksheet operations are visually being seen.

VBA Usage:

Dim scrup As Boolean: scrup = DisableScreenUpdating(Application.ScreenUpdating)

Method Declaration:

Function DisableScreenUpdating(val As Boolean) As Boolean
   '''''''''''''''''''''''''''''''''''''''''''''''''
   ' Disable ScreenUpdating, for seemless operation
   If val Then
      Application.ScreenUpdating = False
   End If
   '''''''''''''''''''''''''''''''''''''''''''''''''

   DisableScreenUpdating = val
End Function

Question:

What am i missing in 2007 that 2010 is either assuming or is working correctly?

  • Still tracking down the bug cause it is still happening on 1 version of the file but other two versions it will not. The Versions all have the same code-base but based on various settings change representation to the end-user(s).

NOTE:

  • Please DO NOT focus on the “Why i am doing this”, and more of what situations would cause the ScreenUpdating method to NOT be changed from True to False.
  • 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-06-13T07:09:17+00:00Added an answer on June 13, 2026 at 7:09 am

    You could try eliminating the conditional and see if the problems is still there. That ways you’d know if it has something to do with conditional or not or ‘val’.

    Function DisableScreenUpdating() As Boolean
      Application.ScreenUpdating = False
      DisableScreenUpdating = True
    End Function
    

    Assuming this makes your bug go away, I’d then focus on the call….

    DisableScreenUpdating(Application.ScreenUpdating)
    

    Perhaps the bug something to do with reading the ScreenUpdating property, followed shortly by write. That’s just a guess though.

    Also, I’d search your project for any other usage of Application.ScreenUpdating. There may be some other code causing the updating to return to True.

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

Sidebar

Related Questions

Is there a method whereby columns in Excel (2003, 2007 and/or 2010) can be
I have an Excel 2010 workbook for financial records. On one worksheet, I have
In VSTO 2010 in Excel, the Range.Sort method doesn't seem to work for me.
I developped an xll with visual studio 2010 and excel 2010. it works fine
I found that in Excel 2010 (and 2007), when you try and choose one
In Excel 2010, I am adding a drop down list control to a worksheet.
We recently upgraded from Excel 2007 to Excel 2010, and we have found that
Using Excel 2010 and SQL Server 2008 R2. I used import and export data
I'm using Excel 2010 to read some SQL data using an ODBC data connection.
I have the following function using Excel 2010: Private Function MakeAllSheetsValuesOnly(targetBookName As String) If

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.