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, 2 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
-
WSrory
AskWoody Lounger -
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 27863 released to Canary
by
joep517
10 hours, 26 minutes ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
10 hours, 27 minutes ago -
AI model turns to blackmail when engineers try to take it offline
by
Cybertooth
3 hours, 11 minutes ago -
Migrate off MS365 to Apple Products
by
dmt_3904
6 hours, 37 minutes ago -
Login screen icon
by
CWBillow
1 hour, 52 minutes ago -
AI coming to everything
by
Susan Bradley
10 hours, 37 minutes ago -
Mozilla : Pocket shuts down July 8, 2025, Fakespot shuts down on July 1, 2025
by
Alex5723
1 day, 2 hours ago -
No Screen TurnOff???
by
CWBillow
1 day, 2 hours ago -
Identify a dynamic range to then be used in another formula
by
BigDaddy07
1 day, 3 hours ago -
InfoStealer Malware Data Breach Exposed 184 Million Logins and Passwords
by
Alex5723
1 day, 14 hours ago -
How well does your browser block trackers?
by
n0ads
1 day ago -
You can’t handle me
by
Susan Bradley
53 minutes ago -
Chrome Can Now Change Your Weak Passwords for You
by
Alex5723
17 hours, 32 minutes ago -
Microsoft: Over 394,000 Windows PCs infected by Lumma malware, affects Chrome..
by
Alex5723
2 days, 2 hours ago -
Signal vs Microsoft’s Recall ; By Default, Signal Doesn’t Recall
by
Alex5723
1 day, 5 hours ago -
Internet Archive : This is where all of The Internet is stored
by
Alex5723
2 days, 2 hours ago -
iPhone 7 Plus and the iPhone 8 on Vantage list
by
Alex5723
2 days, 2 hours ago -
Lumma malware takedown
by
EyesOnWindows
1 day, 14 hours ago -
“kill switches” found in Chinese made power inverters
by
Alex5723
2 days, 11 hours ago -
Windows 11 – InControl vs pausing Windows updates
by
Kathy Stevens
2 days, 11 hours ago -
Meet Gemini in Chrome
by
Alex5723
2 days, 15 hours ago -
DuckDuckGo’s Duck.ai added GPT-4o mini
by
Alex5723
2 days, 15 hours ago -
Trump signs Take It Down Act
by
Alex5723
2 days, 23 hours ago -
Do you have a maintenance window?
by
Susan Bradley
1 day, 4 hours ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
2 days, 1 hour ago -
Cox Communications and Charter Communications to merge
by
not so anon
3 days, 2 hours ago -
Help with WD usb driver on Windows 11
by
Tex265
13 hours, 53 minutes ago -
hibernate activation
by
e_belmont
3 days, 11 hours ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
3 days, 15 hours ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
3 days, 18 hours 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.