Results 1 to 8 of 8

Thread: Application Visible with more than 1 workbook

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Thanks, i now have a better understanding of how to use those things!

    I'm working on a different Macro where I am open and close many Workbooks. In the beginning of the Procedure I set Application.Visible = False. Still, when I use

    Set wb = Workbooks.Open(filename)
    the opened window still pops up and shows itself, even though i don*t do anything to the application. Do you know why it is?

    I turned this on in the beginning and turned it off at the end (Still no performance increasement):

    Public Sub SpeedUp(SpeedUpOn As Boolean)
         With Application
              If SpeedUpOn Then
                   .ScreenUpdating = False
                   .Calculation = xlCalculationManual
                   .EnableEvents = False
                   .DisplayStatusBar = False 'in case you are not showing any messages
             Else
                  .ScreenUpdating = True
                  .Calculation = xlCalculationAutomatic
                  .EnableEvents = True
                  .DisplayStatusBar = True
             End If
          End With
    End Sub
    Last edited by Aussiebear; 11-24-2024 at 12:35 AM.

Posting Permissions

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