Results 1 to 4 of 4

Thread: Excel Screen Update......

  1. #1

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Exclamation

    Does anyone know how to turn the screen update off in excel

    I thought it was...
    Dim O as object
    Set O = CreateObject("excel.application")
    O.screenupdate = false

    Nope....Doesn't work

    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Fresno, California, USA
    Posts
    195
    I don't understand what you are asking. What do you mean by screen update? Of course, if you know how to do it in Excel, just record a macro and see how to do it in automation.

  3. #3

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Wink Got it!

    It was...

    .screenupdating = false

    makes automation faster....then
    true when done...displays data.

    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  4. #4
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Nitro
    Posts
    633
    Try this:

    Code:
    Option Explicit
    
    Sub Main()
      Application.ScreenUpdating = False
      
      Dim int_X As Integer
      Range("A1").Select
      Do
        int_X = int_X + 1
        ActiveCell.Value = int_X
        ActiveCell.Offset(1, 0).Select
      Loop Until int_X = 4000
    End Sub
    If this work, you will see all data in cells at once.
    Chemically Formulated As:
    Dr. Nitro

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width