+ Reply to Thread
Results 1 to 4 of 4

Application.ScreenUpdating

Hybrid View

royUK Application.ScreenUpdating 05-09-2008, 03:59 AM
Andy Pope Roy, you forgot to reverse... 05-11-2008, 09:45 AM
shg And to turn things off before... 05-11-2008, 12:58 PM
royUK Just checking if anyone read... 05-13-2008, 04:18 AM
  1. #1
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481
    Roy, you forgot to reverse the properties and variables when restoring you code.

            'your code here
    
            'restore settings
            .ScreenUpdating = bScreenUpdating
            .DisplayAlerts = bDisplayAlerts
            .EnableEvents = bEnableEvents
            .Calculation = lCalculate
    Cheers
    Andy
    www.andypope.info

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    And to turn things off before executing user code?

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Just checking if anyone read this(LOL)

    Thanks Andy & shg, I copied & pasted from the VBE & didn't notice that the second copy hadn't picked up.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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