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
-
Need help with graphics… (Awaiting moderation)
by
WSBatBytes
13 minutes ago -
AMD : Out of Bounds (OOB) read vulnerability in TPM 2.0 CVE-2025-2884
by
Alex5723
11 hours, 9 minutes ago -
Totally remove or disable BitLocker
by
CWBillow
10 hours, 2 minutes ago -
Windows 10 gets 6 years of ESU?
by
n0ads
6 hours, 52 minutes ago -
Apple, Google stores still offer China-based VPNs, report says
by
Nibbled To Death By Ducks
21 hours, 55 minutes ago -
Search Forums only bring up my posts?
by
Deo
22 hours, 9 minutes ago -
Windows Spotlight broken on Enterprise and Pro for Workstations?
by
steeviebops
1 day, 9 hours ago -
Denmark wants to dump Microsoft for Linux + LibreOffice
by
Alex5723
1 day, 2 hours ago -
How to get Microsoft Defender to honor Group Policy Setting
by
Ralph
1 day, 10 hours ago -
Apple : Paragon’s iOS Mercenary Spyware Finds Journalists Target
by
Alex5723
1 day, 20 hours ago -
Music : The Rose Room – It’s Been A Long, Long Time album
by
Alex5723
1 day, 21 hours ago -
Disengage Bitlocker
by
CWBillow
1 day, 11 hours ago -
Mac Mini M2 Service Program for No Power Issue
by
Alex5723
1 day, 23 hours ago -
New Win 11 Pro Geekom Setup questions
by
Deo
22 hours, 4 minutes ago -
Windows 11 Insider Preview build 26200.5651 released to DEV
by
joep517
2 days, 6 hours ago -
Windows 11 Insider Preview build 26120.4441 (24H2) released to BETA
by
joep517
2 days, 6 hours ago -
iOS 26,, MacOS 26 : Create your own AI chatbot
by
Alex5723
2 days, 10 hours ago -
New PC transfer program recommendations?
by
DaveBoston
15 hours, 35 minutes ago -
Windows 11 Insider Preview Build 22631.5545 (23H2) released to Release Preview
by
joep517
2 days, 14 hours ago -
Windows 10 Build 19045.6029 (22H2) to Release Preview Channel
by
joep517
2 days, 14 hours ago -
Best tools for upgrading a Windows 10 to an 11
by
Susan Bradley
2 days, 3 hours ago -
The end of Windows 10 is approaching, consider Linux and LibreOffice
by
Alex5723
1 day, 7 hours ago -
Extended Windows Built-in Disk Cleanup Utility
by
bbearren
1 day, 16 hours ago -
Win 11 24H2 June 2025 Update breaks WIFI
by
dportenlanger
3 days, 9 hours ago -
Update from WinPro 10 v. 1511 on T460p?
by
CatoRenasci
2 days, 7 hours ago -
System Restore and Updates Paused
by
veteran
3 days, 12 hours ago -
Windows 10/11 clock app
by
Kathy Stevens
2 days, 23 hours ago -
Turn off right-click draw
by
Charles Billow
3 days, 15 hours ago -
Introducing ChromeOS M137 to The Stable Channel
by
Alex5723
3 days, 19 hours ago -
Brian Wilson (The Beach Boys) R.I.P
by
Alex5723
7 hours, 25 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.