![]() |
![]() |
|
|||||||
| 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 |
|
Board Regular
Join Date: Feb 2002
Posts: 422
|
I am using a macro that copies and pastes data to a worksheet this takes quite a long time. I can speed it up if I use ActiveWindow.WindowState = xlMinimized
then use ActiveWindow.WindowState = xlMaximized when it has finished. This works fine if this is the only active workbook open but does not if I have another workbook open at the same time. Any Ideas how to correct this problem ? |
|
|
|
|
|
#2 |
|
New Member
Join Date: Mar 2002
Posts: 39
|
You could try using:
Application.ScreenUpdating = False and Application.ScreenUpdating = True around your code. Russell |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|