rmweaver81
New Member
- Joined
- Feb 4, 2013
- Messages
- 15
I have written some code that runs about 400 lines of code in one worksheet, then 400 lines of code in another worksheet ("Calendar"), and finishes by returning to the first worksheet. When I run the code, it takes about a second to process. There is a flicker for about a quarter-second where you can see the "Calendar" worksheet. I am using slight deviations of the following code to switch between the worksheets:
Worksheets("Calendar").Cells(a,b).Select
With Selection
PerformAction
End With
Is there any way I can passively select those cells in the "Calendar" worksheet so that it doesn't become the active sheet? Is there a way I can suppress the script from flashing the "Calendar" sheet?
Worksheets("Calendar").Cells(a,b).Select
With Selection
PerformAction
End With
Is there any way I can passively select those cells in the "Calendar" worksheet so that it doesn't become the active sheet? Is there a way I can suppress the script from flashing the "Calendar" sheet?