-
WSsiflaar
AskWoody LoungerHello Hans,
It seems to work correctly after I changed to following lines:
strOld = wshList.Range("A" & r) strNew = wshList.Range("B" & r)
You used the brackets in your code, but then you are replacing the file name and not the foldername
Thanks again for your help -
WSsiflaar
AskWoody LoungerCool Hans,
Thank you very much for your effort.
I will give it a test. -
WSsiflaar
AskWoody LoungerHans,
Yes, there is a pattern to te movement. It is possible to create a sheet with old en new locations just by foldernames.
-
WSsiflaar
AskWoody LoungerThanks Hans,
Luckely 70% of the movements will be relative, but 30% will move to other locations.
Is it possible for those 30% to use a macro to correct the links? -
WSsiflaar
AskWoody LoungerCool Hans,
Quick answer and it is working (ofcourse) -
WSsiflaar
AskWoody LoungerSteve,
Thanks for the reply.
I have made sure “Personeel” is the active sheet, I also tried your code line, it does not work
I will prepare a examplesheet tomorrow and post it -
WSsiflaar
AskWoody Loungerextra info:
Well if the code is not showing the correct sheet, that is no so bad, I can live with it.
But the strange thing is that I can not unprotect the sheet by codeSheets(“Personeel”).Unprotect Password:=strWW
the programm is running this line, giving me no error and on the next line:
Range(“P1”).Value = “aangepast”
(this time a manuly made shure the active sheet is the correct one) Excel is giving me a 1004 error telling me that the cell is protected.
In de VBA editor I print the value of strWW, copy it and manuely unprotect the sheet, by pasting the strWW value… it worksWhy is the code not working????
Thanks in advance for your reaction.
Patrick Schouten -
WSsiflaar
AskWoody LoungerSeptember 15, 2006 at 9:06 am in reply to: VBA creating button and connecting a macro (2003) #1028728Thanks Jan Karel,
You saved me a lot of time.
greetings,
Patrick Schouten
Meander Medisch Centrum -
WSsiflaar
AskWoody LoungerHello Andrew,
I just saw what date the message had.
I was just looking for the same kind of problem and saw yours….. -
WSsiflaar
AskWoody LoungerHello Andrew,
I that user using Word as Email editor and is the setting for hyperlinks in AutoCorrection, Autoformat disabled?
-
WSsiflaar
AskWoody LoungerThanks hans,
I searched the database, but problably not with the correct words.
I’m happy… have a nice weekend -
WSsiflaar
AskWoody LoungerHello Sam,
I see your point here. You are right.
-
WSsiflaar
AskWoody LoungerHi Sam,
Sorry for the confusion, on my name Silfaar where two different replys, most from my, but one from my brother (the chemist) Olaf. He will not use my name anymore.
He told me, that for his problem the macro will work by setting caps on the third letter, because he is not using the unnamed elements. But you are right about those elements.
Well, lets try an other sollution, Put a space between every element so the macro knows where a element name starts and ends and let the macro remove the space.
-
WSsiflaar
AskWoody LoungerHello all,
I was just thinking (may I should do sometine else but…)
Is it not so that the letters combinations of ONE element could only be 1 or 2 characters, that means that if there is a third character this one should always be caps? -
WSsiflaar
AskWoody Loungerquestion, (btw I’m the chemist who asked my brother (siflaar) to ask you the question about the chemical formula marco. OK enough about that….
What if the formula is silicium fluorine that is SiF??
I will type sif and the macro turns it in Sif which is not correct??
please respond…….
Olaf.
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
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
-
New Microsoft Nag — Danger! Danger! sign-in to your Microsoft Account
by
EricB
31 minutes ago -
Blank Inetpub folder
by
Susan Bradley
1 hour, 22 minutes ago -
Google : Extended Repair Program for Pixel 7a
by
Alex5723
3 hours, 14 minutes ago -
Updates seem to have broken Microsoft Edge
by
rebop2020
6 hours, 58 minutes ago -
Wait command?
by
CWBillow
49 minutes ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
9 hours, 53 minutes ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
16 hours, 29 minutes ago -
Windows 10 finally gets fix
by
Susan Bradley
1 day, 1 hour ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
1 day, 2 hours ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
21 hours, 15 minutes ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
1 day, 15 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
1 day, 16 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
11 hours, 35 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
8 hours, 16 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
2 days, 3 hours ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
2 days, 7 hours ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
2 days, 7 hours ago -
Unable to eject external hard drives
by
Robertos42
18 hours, 19 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
6 hours ago -
Tech I don’t miss, and some I do
by
Will Fastie
3 hours, 54 minutes ago -
Synology limits hard drives
by
Susan Bradley
3 days, 11 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
2 days, 14 hours ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
3 days, 18 hours ago -
Upgrade Sequence
by
doneager
3 days, 11 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 17 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
2 days, 10 hours ago -
The incredible shrinking desktop icons
by
Thumper
4 days, 15 hours ago -
Windows 11 Insider Preview Build 22635.5240 (23H2) released to BETA
by
joep517
4 days, 16 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 15 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 9 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.