-
WSrossconnell
AskWoody LoungerThanks to all for responding.
Ross -
WSrossconnell
AskWoody LoungerHans,
Brilliant, as usual. I guess I did not try all the combinations.
Thank you ver much. -
WSrossconnell
AskWoody LoungerJan,
I’m not sitting at the affected computer at the moment, but I’m sure you’re absolutely right about the setting.
Thank you also for pointing out the sloppy error handling. Your advice is much appreciated. -
WSrossconnell
AskWoody LoungerSteve,
I get the error message “Out of range” In other words, it can’t find the file – which of course it’s not supposed to find.
Yes, the code looks fine and works fine, but not on my computer! -
WSrossconnell
AskWoody LoungerThanks again – makes perfect sense.
-
WSrossconnell
AskWoody LoungerThanks Hans. That should fix it.
When/if you ever get time, it would be interesting to find out how button 1 disables button 2 but button 2 leaves button 1 alone. -
WSrossconnell
AskWoody LoungerHans,
Thank you. Always right on point. -
WSrossconnell
AskWoody LoungerSteve,
Thank you for taking the time to suggest the various options. The Modeless msg box is notably absent, so I take it you don’t see a better way to use it than I am.
With respect to option 1) There are a number of steps the code must complete before we get to checking the list, so re-starting will not work. Moreover, in principle, I am not happy with code that requires users to be “taught” anything; if the interface is not intuitive it needs improvement.
2) Yes, I could create a Userform, but that would seem to be a lot more work than my modeless msg box. There is no way to validate the input. I have no way of knowing which of the following names is correct: ABC Inc|ABC Inc.|ABC-Inc|
3) This gets closer to what I need, but does seem a bit clunkier than the modeless msg box.
Good ideas but, as you say, with the limited amount of information I provided, not ideal.
Thanks -
WSrossconnell
AskWoody LoungerSteve,
Let’s say we have a list of 10 names and the macro is going to summarize some data for each of the 10. I want the user to review the list and see if any names have to be added or subtracted, and to make sure they are all spelled exactly as they are in the data. The modeless msg remains on the screen while the user edits the list. Is there a better way? -
WSrossconnell
AskWoody LoungerHans,
Do you ever sleep?
Sorry, what I meant was that when I modify my code to accommodate the Modeless message box I have to move my dim statements around because now I have two or more procedures. Maybe I’m too restrictive in the scope of my variables, but I only declare them before the procedure when they apply to more than one. -
WSrossconnell
AskWoody LoungerThanks. Seems so obvious when you say it!
-
WSrossconnell
AskWoody LoungerHans,
As always, spot on. I had some other code in the Document_Open event, but setting not print for Drawing Objects was not.
Thanks again -
WSrossconnell
AskWoody LoungerThis may be too obvious, but why not create a macro in a separate file and assign it to a button or menu or something to give the user easy access.
You can then set the attribute to ReadOnly before you open the target Workbook:
SetAttr “C:My DocumentsExpenses.xls”, vbReadOnly
Workbooks.Open Filename:=”C:My DocumentsExpenses.xls”
Include a line in the code to close the macro workbook as soon as it’s done its thing.
Any use? -
WSrossconnell
AskWoody LoungerHans,
As usual you come through. I had assumed that if I added the date programmatically, it would be changed every time the document was opened, but the way you describe, the date is only added when a new document is created from the template.
Thanks -
WSrossconnell
AskWoody LoungerHans,
No, Excel 2000 does not support this method, so I can’t see a way to set things up in workbook or sheet events.
The first thing I was looking for, was the ID for the language I wanted. As is often the case, it was much easier simply to use the macro recorder while changing the language to what I wanted and then look at the code to get the ID, than to search the KB and TechNet where I found nothing.
That done, I find that I can run the spell checker for my preferred language:
Cells(19, 2).CheckSpelling CustomDictionary:=”CUSTOM.DIC”, IgnoreUppercase:=False _
, AlwaysSuggest:=True, SpellLang:=3084
The next problem is to turn the language back to English. This is done by invoking the spell checker a second time:
Cells(19, 2).CheckSpelling CustomDictionary:=”CUSTOM.DIC”, IgnoreUppercase:=False _
, AlwaysSuggest:=True, SpellLang:=1033
It means the user has to be aware of this, and when they see the change of language at the bottom of the dialog box, to click Cancel. It happens too fast for the user to notice that the spell checker has actually started again. Not perfect, but workable.
A related issue in my case, is that when I restrict the spell check to a specific range of cells, it won’t work if the cells are merged. So my procedure un-merges the cells and re-merges them when the user is finished spelling. This works, but introduces a further irritant: the word being checked is isolated and none of the rest of the text can be seen, denying the user the context. Maybe they can get used to this too???
![]() |
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 |

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
-
Two blank icons
by
CR2
5 hours, 5 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
7 hours, 30 minutes ago -
End of 10
by
Alex5723
10 hours, 10 minutes ago -
End Of 10 : Move to Linux
by
Alex5723
10 hours, 39 minutes ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
7 hours, 8 minutes ago -
test post
by
gtd12345
16 hours, 11 minutes ago -
Privacy and the Real ID
by
Susan Bradley
6 hours, 18 minutes ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
7 hours, 8 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
20 hours, 32 minutes ago -
Upgrading from Win 10
by
WSjcgc50
7 hours, 57 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
15 hours, 38 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
1 day, 12 hours ago -
The story of Windows Longhorn
by
Cybertooth
23 hours, 56 minutes ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
1 day, 14 hours ago -
Are manuals extinct?
by
Susan Bradley
1 hour, 38 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
1 day, 23 hours ago -
Network Issue
by
Casey H
1 day, 10 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
2 days, 11 hours ago -
May 2025 Office non-Security updates
by
PKCano
2 days, 11 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
2 days, 13 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
1 day, 14 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
2 days, 15 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
2 days, 15 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
2 days, 23 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
1 day, 15 hours ago -
Asking Again here (New User and Fast change only backups)
by
thymej
3 days, 10 hours ago -
How much I spent on the Mac mini
by
Will Fastie
18 hours ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
1 day, 13 hours ago -
Spring cleanup — 2025
by
Deanna McElveen
3 days, 16 hours ago -
Setting up Windows 11
by
Susan Bradley
2 days, 11 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.