![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 19
|
hi, ive got a macro to add data from one sheet to another, and i know there is a line to put at the top of the macro to stop the screen flashing, but i cant remember what it it (something like "screen update" or something)
so if anyone could tell me the line, ide be very gratefull thanx BoB |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Helena, MT
Posts: 13,690
|
Application.ScreenUpdating=False
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Location: Hilo, Hawaii
Posts: 240
|
Just make sure to put:
Application.ScreenUpdating = True as the last line of your code or the screen could remain blank when the macro is done running!! Yours in EXCELent Frustration KniteMare |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
Quote:
for example, if you push a button on a userform to perform some operation that turns off screen updates, when control returns to the userform you will be able to drag it all over your screen and paint pretty Userform pictures all over it. |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|