Hello. I am using VBA to open another workbook and then close the workbook that holds the code. There are quite a few operations and I hide the activity by disabling ScreenUpdating. To make this work I have enabled ScreenUpdating before closing the original file...this means that the user sees some jumping around that I would rather avoid. If I do not do this it behaves unpredictably...sometimes it will execute a random module in the new book or just freeze on the original book. Any suggestions? Many thanks!
Code:
Workbooks("Input.xls").Activate 'this is the new book
Application.EnableEvents = True
ActiveSheet.Protect Password:=PW
Application.ScreenUpdating = True
Workbooks("Choose Case.xls").Activate ' the original book with this code
ActiveWorkbook.Close SaveChanges:=False