Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is my problem:
I have a spreadsheet that has 40,000 + records in it. I have written a macro that goes through and checks each line to see if it matches some criteria. What happens, is while this is occur, the screen keeps scrolling with each line as it is selected, thus resulting in what looks like the computer is freaking out. What I need is a way to disable the scrolling of the sheet until the program has finished running. Also, I use multiple sheets in the workbook, so I guess I would have to disable it for the whoel workbook. Any ideas? Thanks Devin |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Devin,
Turn off screen updating so that your code executes behind the scenes, then turn it back on at the end of your code. This will also make the code run faster as well. Like: Sub My_sub() Application.ScreenUpdating = False 'your code Application.ScreenUpdating = True End Sub -----Original Message----- Here is my problem: I have a spreadsheet that has 40,000 + records in it. I have written a macro that goes through and checks each line to see if it matches some criteria. What happens, is while this is occur, the screen keeps scrolling with each line as it is selected, thus resulting in what looks like the computer is freaking out. What I need is a way to disable the scrolling of the sheet until the program has finished running. Also, I use multiple sheets in the workbook, so I guess I would have to disable it for the whoel workbook. Any ideas? Thanks Devin . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conflicts with autorefresh in pivot table activating sheet protect | Excel Discussion (Misc queries) | |||
Set autorefresh for Shared Excel Workbook | Excel Discussion (Misc queries) | |||
Live Scrolling/Real-Time /Smooth Scrolling doesn't work for me in Excel 2003 | Excel Discussion (Misc queries) | |||
Autorefresh Fails on Open | Excel Discussion (Misc queries) | |||
autorefresh display autofilter criteria question | Excel Programming |