+ Reply to Thread
Results 1 to 4 of 4

What does Application.screenupdating means!!!

  1. #1
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    What does Application.screenupdating means!!!

    Hi Forum..

    * When its false.. screen should be looks like.. a image.. no update.. and after return true.. current status of the screen..
    I think I am right..

    but sometime.. when we swap between two sheets/books..
    excel window.. looks like only application.. No sheet visible.. only Application Window..
    in background program is running..
    after completion or set App.ScrUpd = true, its come and display current screen..

    I ask looking for a technical explanation.. why screen in flickering.. you know what I mean by flickering.. i don't want user to display blank application.excel.. i just want to show.. the screen just before.. app.ScrUpd = false..

    if you need .. i can create a sample fie with with lil bit huge for loop.. and swaping between two sheet.. randomly.. just to show you blank application window.. but i think, you all already have noticed..
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: What does Application.screenupdating means!!!

    Hi, Debraj Roy,

    I ran across that when updating charts, and I finally ended up using API and freezing the window from there as before ScreenUpdating was set to False but there was still some action visible.

    Alternative might be taking a screenshot from the sheet, minimize Excel to the tray and display that picture for the runtime of the macro, maximize Excel again and delete the image.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: What does Application.screenupdating means!!!

    Hi HaHoBe..

    thanks for suggestion.. You know.. i follow you a lot.. your excel techniques inspired me a lot.. learned a lot form you..

    thanks for suggestion and idea.. still lot of thing to learn..
    but i never work on API or infact class module..

    for the time being.. i am assuming this is a Redmond guys's fault.. and we need to accept this as this only..

    Keep guiding us..

  4. #4
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: What does Application.screenupdating means!!!

    If you are using a loop you can periodically update the display by setting screenupdating to true then immediately back to false...
    alternatively you can use event triggers to force a screen update to ensure you're not left with a blank application window display.
    To force a chart update you also have to activate the worksheet and an enable events usually does the trick.
    Last edited by AndyLitch; 09-21-2013 at 03:57 AM.
    Elegant Simplicity............. Not Always

+ 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] VBA Application.EnableEvents and Application.ScreenUpdating
    By mcmunoz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-01-2013, 10:24 PM
  2. Application.ScreenUpdating not working with Application.Run
    By WaqasTariq in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-18-2012, 02:24 PM
  3. [SOLVED] Application.screenupdating
    By teachMeExcel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2012, 04:26 PM
  4. Application.ScreenUpdating
    By royUK in forum Tips and Tutorials
    Replies: 3
    Last Post: 05-13-2008, 04:18 AM
  5. PLEASE PLEASE HELP Application.Screenupdating
    By modjoe23 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-03-2005, 01:05 AM

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