+ Reply to Thread
Results 1 to 3 of 3

Macro - Prevent screen refresh

  1. #1
    Bharath Rajamani
    Guest

    Macro - Prevent screen refresh

    Is there a way to prevent the workbook screen display getting refreshed as a
    macro runs, and make the macro run in the background without refreshing the
    worksheet display.

    Maybe it runs faster that way.


    Rgds,

  2. #2
    Graham Whitehead
    Guest

    Re: Macro - Prevent screen refresh

    You are quite correct. try this:

    application.screenupdating=false
    '
    'your code here
    '
    application.screenupdating=true

    "Bharath Rajamani" <[email protected]> wrote in
    message news:[email protected]...
    > Is there a way to prevent the workbook screen display getting refreshed as
    > a
    > macro runs, and make the macro run in the background without refreshing
    > the
    > worksheet display.
    >
    > Maybe it runs faster that way.
    >
    >
    > Rgds,




  3. #3
    Duncan
    Guest

    Re: Macro - Prevent screen refresh

    Bharath:

    Application.ScreenUpdating = False
    '...
    'Your code in Here
    '...
    Application.ScreenUpdating = True



    HTH
    Duncan


    Bharath Rajamani wrote:
    > Is there a way to prevent the workbook screen display getting refreshed as a
    > macro runs, and make the macro run in the background without refreshing the
    > worksheet display.
    >
    > Maybe it runs faster that way.
    >
    >
    > Rgds,



+ 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