I currently have a macro that copies information from one workbook to another from several different spots on the original sheet. As the macro proceeds there is quite a lot of panel fluctuation and I was wondering if there was a way to “freeze” the screen until the macro finished?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
freezing on one screen as macro proceeds (excel 2000)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » freezing on one screen as macro proceeds (excel 2000)
- This topic has 18 replies, 9 voices, and was last updated 23 years, 3 months ago.
Viewing 2 reply threadsAuthorReplies-
WSAndrew Cronnolly
AskWoody Lounger -
WScvbs
AskWoody LoungerMarch 3, 2002 at 10:57 pm #574004Andrew,
That simple!!!!! wow!!! Sorry to bother you. I should have been able to figure that out by myself. As you probably could tell I am new to this programming macro thing and I am using a book by that is suppose to teach me how to do this stuff in just 24 hours…. so far it is a little slow coming, however, it is a BLAST to keep the old grey matter churning. Thank you for the quick response… this is just a great board…. I know I will learn a GREAT deal.
-
H. Legare Coleman
AskWoody PlusMarch 3, 2002 at 7:13 pm #573988Two things:
1- If you don’t select the cells and sheets where you are copying, then there is no reason for the display to change. The macro will also run much faster. There are very few times when it is actually necessary to change the selection in a macro.
2- You can include the following lines of code before and after where you want the screen frozen:
Application.ScreenUpdating = False ' Do your copying Application.ScreenUpdating = True
-
WScvbs
AskWoody LoungerMarch 3, 2002 at 10:45 pm #574001Legare
You said “If you don’t select the cells and sheets where you are copying, then there is no reason for the display to change. The macro will also run much faster. There are very few times when it is actually necessary to change the selection in a macro.”
I am fairly new to this visual basic thing and I don’t quite understand what you mean. I don’t mean to be dense however it comes naturally sometimes java script:returnTag(‘‘) I thought I needed to “select”/ copy the cells from one workbook sheet and have them pasted to a completely different workbook sheet.
If you would be so kind to explain a little more I would greatly appreciate it . If you prefer to send me an separate e-mail instead of taking up space on this great board feel free to do so.
tia
Bill -
H. Legare Coleman
AskWoody PlusMarch 4, 2002 at 2:35 am #574020No, I don’t want to send a private message since then no one else could benefit from my answer. That would defeat the purpose of this forum.
If you wanted to copy the range A1:C2 on Sheet1 and paste it into Sheet2 starting at cell A1, then you could use code like the following which selects the different ranges and activates the two sheets:
Worksheets("Sheet1").Activate Worksheets("Sheet1").Range("A1:C2").Select Selection.Copy Worksheets("Sheet2").Activate Worksheets("Sheet2").Range("A1").Select ActiveSheet.Paste Application.CutCopyMode = False
This will cause the screen to flash a lot. You will get code similar to the above if you record a macro to do this.
The following code does the same thing, but it never changes the selected range or the active worksheet, therefore the screen will not flash. In addition, it will run much faster.
Worksheets("Sheet1").Range("A1:C2").Copy Worksheets("Sheet2").Paste Destination:=Worksheets("Sheet2").Range("A1") Application.CutCopyMode = False
-
WSSammyB
AskWoody LoungerMarch 4, 2002 at 11:21 am #574061Actually, since the Copy method allows a destination as a parameter, you can shorten Legare’s code to a one liner:
Worksheets("Sheet1").Range("A1:C2").Copy _ Worksheets("Sheet2").Range("A1")
Usually you can get started writing better VBA code by recording a macro, then “collapsing” the code. For example, if you record a macro to enter the word, Test, in cell A1, you get something like:
Range("A1").Select ActiveCell.FormulaR1C1 = "Test"
You can collapse this to
Range("A1").FormulaR1C1 = "Test"
or even
Range("A1") = "Test"
but to be on the safe side
Sheets("Sheet1").Range("A1") = "Test"
is best because Excel can’t mess you up with it’s defaults. HTH –Sam
-
WScvbs
AskWoody LoungerMarch 4, 2002 at 11:47 am #574067Legare, Sammy
Thank you both for the information. I will continue to sit on the side and read the material I have in my book and I will certainly post any questions that come along. I do have a great deal to learn, however, with the help of this board and the book who knows I may stop….
As I said, “This is a GREAT board”,
tia
Bill -
WSSammyB
AskWoody LoungerMarch 4, 2002 at 12:31 pm #574074Hey, Excel is easy: at least when you record a macro, you can usually follow what the code is doing! Wait until you try to do Word, PowerPoint or Access VBA — they are all serious
. What book are you using? The one I refer to is Writing Excel Macros by Steven Roman. It’s thin, cheap, and usually has what I need. –Sam
-
WScvbs
AskWoody LoungerMarch 7, 2002 at 1:40 pm #574899SammyB ,
Sorry for the time frame delay in reply, I have been on the road for the last couple of days and no access to the net. Yes, I was going through withdrawal…. anyway I am back to the computer and all is well. As for the book I am using it is Step by Step Excel 97 Visual Basic by Reed Jacobson. It is so far a very good study guide with some small areas that could be spelled out a little more, however, that is when I will turn to this board and all of you for help.
Again, you have been a great help along with all the others and I will check out the book that you have listed and I can’t wait to look into the other vba macros.As the man once said “I’ll be back”
tia,
Bill -
WSdcardno
AskWoody LoungerMarch 7, 2002 at 4:45 pm #574949Bill:
If you are looking for a good book on Excel and VBA you might check out John Walkenbach’s “Excel 2000: Power Programming with VBA” I have five or six Excel reference books, but that is the one I use most often. The discussion of topics is thorough and complete and the topic sequence is logical. There is some introductory user-oriented stuff at the start and after that it assumes a pretty good level of expertise, but is quite accessible for anyone who has been ‘hands-on’ with Excel for a while.
At the moment, I just wish John had written a similar book on Access!
-
WScvbs
AskWoody Lounger
-
-
Viewing 2 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
4 hours, 36 minutes ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
4 hours, 38 minutes ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
7 hours, 45 minutes ago -
Firefox 139
by
Charlie
7 hours, 1 minute ago -
Who knows what?
by
Will Fastie
5 hours, 31 minutes ago -
My top ten underappreciated features in Office
by
Peter Deegan
5 hours, 22 minutes ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
17 hours, 38 minutes ago -
Misbehaving devices
by
Susan Bradley
7 hours, 30 minutes ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
1 day, 11 hours ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
4 hours, 48 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
1 day, 9 hours ago -
Discover the Best AI Tools for Everything
by
Alex5723
9 hours, 4 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
1 day ago -
Rufus is available from the MSFT Store
by
PL1
1 day, 8 hours ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
2 days, 11 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
10 hours, 51 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
9 hours, 34 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
2 days, 6 hours ago -
Office gets current release
by
Susan Bradley
2 days, 9 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
3 days, 23 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
3 days, 8 hours ago -
Stop the OneDrive defaults
by
CWBillow
4 days ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
4 days, 10 hours ago -
X Suspends Encrypted DMs
by
Alex5723
4 days, 12 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
4 days, 12 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
4 days, 13 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
4 days, 13 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
4 days, 2 hours ago -
Enabling Secureboot
by
ITguy
4 days, 9 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
4 days, 21 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.