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?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
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 22631.5545 (23H2) released to Release Preview
by
joep517
2 hours, 33 minutes ago -
Windows 10 Build 19045.6029 (22H2) to Release Preview Channel
by
joep517
2 hours, 34 minutes ago -
Best tools for upgrading a Windows 10 to an 11
by
Susan Bradley
8 hours, 26 minutes ago -
The end of Windows 10 is approaching, consider Linux and LibreOffice
by
Alex5723
29 minutes ago -
Extended Windows Built-in Disk Cleanup Utility
by
bbearren
44 minutes ago -
Win 11 24H2 June 2025 Update breaks WIFI
by
dportenlanger
21 hours, 34 minutes ago -
Update from WinPro 10 v. 1511 on T460p?
by
CatoRenasci
11 hours, 6 minutes ago -
System Restore and Updates Paused
by
veteran
1 day ago -
Windows 10/11 clock app
by
Kathy Stevens
11 hours, 10 minutes ago -
Turn off right-click draw
by
Charles Billow
1 day, 3 hours ago -
Introducing ChromeOS M137 to The Stable Channel
by
Alex5723
1 day, 6 hours ago -
Brian Wilson (The Beach Boys) R.I.P
by
Alex5723
42 minutes ago -
Master patch listing for June 10, 2025
by
Susan Bradley
1 day, 8 hours ago -
Suggestions for New All in One Printer and a Photo Printer Windows 10
by
Win7and10
11 hours, 19 minutes ago -
Purchasing New Printer. Uninstall old Printer Software First?
by
Win7and10
1 day, 14 hours ago -
KB5060842 Issue (Minor)
by
AC641
2 hours, 32 minutes ago -
EchoLeak : Zero Click M365 Copilot leak sensitive information
by
Alex5723
1 day, 21 hours ago -
24H2 may not be offered June updates
by
Susan Bradley
14 hours, 9 minutes ago -
Acronis : Tracking Chaos RAT’s evolution (Windows, Linux)
by
Alex5723
2 days, 10 hours ago -
June 2025 updates are out
by
Susan Bradley
8 hours, 36 minutes ago -
Mozilla shutting Deep Fake Detector
by
Alex5723
3 days ago -
Windows-Maintenance-Tool (.bat)
by
Alex5723
2 days, 10 hours ago -
Windows 11 Insider Preview build 26200.5641 released to DEV
by
joep517
3 days, 3 hours ago -
Windows 11 Insider Preview build 26120.4250 (24H2) released to BETA
by
joep517
3 days, 3 hours ago -
Install Office 365 Outlook classic on new Win11 machine
by
WSrcull999
3 days, 3 hours ago -
win 10 to win 11 with cpu/mb replacement
by
aquatarkus
2 days, 19 hours ago -
re-install Windows Security
by
CWBillow
3 days, 6 hours ago -
WWDC 2025 Recap: All of Apple’s NEW Features in 10 Minutes!
by
Alex5723
3 days, 10 hours ago -
macOS Tahoe 26
by
Alex5723
3 days, 4 hours ago -
Migrating from win10 to win11, instructions coming?
by
astro46
19 hours, 16 minutes ago
Recent blog posts
Key Links
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.