+ Reply to Thread
Results 1 to 3 of 3

optimization question

  1. #1
    ybazizi
    Guest

    optimization question

    I saw some code once that turned off screen refreshes in a workbook until a
    macro complete running. I can't remember how that was done. Does anyone
    have any ideas?

    Thanks

  2. #2
    AA2e72E
    Guest

    RE: optimization question

    At the start of the macro set:

    application.ScreenUpdating=False

    At the end (or in your eeeor trap) set:

    application.ScreenUpdating=true

    "ybazizi" wrote:

    > I saw some code once that turned off screen refreshes in a workbook until a
    > macro complete running. I can't remember how that was done. Does anyone
    > have any ideas?
    >
    > Thanks


  3. #3
    ybazizi
    Guest

    RE: optimization question

    Thanks! That did the trick.

    "AA2e72E" wrote:

    > At the start of the macro set:
    >
    > application.ScreenUpdating=False
    >
    > At the end (or in your eeeor trap) set:
    >
    > application.ScreenUpdating=true
    >
    > "ybazizi" wrote:
    >
    > > I saw some code once that turned off screen refreshes in a workbook until a
    > > macro complete running. I can't remember how that was done. Does anyone
    > > have any ideas?
    > >
    > > Thanks


+ 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