-
WSCecil
AskWoody LoungerIt depends. A macro would not be difficult to write, but if you are cleaning up one spreadsheet, you may be able to do it quickly simply by identifying the duplicates. I like to use the sumproduct formula to identify duplicates.
background: In excel A1=A2 will return either true or false. When used in math, a true converts to 1 and a false converts to 0. In the attached, the product (A2=A3)*(B2=B3)*(C2*c3) = 0 (zero) since at least one is false. If I continue that math, (A2=A5)*(B2=B5)*(C2=C5) I get 1, since all values are true. If I sum all the products, the non duplicates add to 1, the duplicates add to more than one.
Once you identify your duplicates,you can use filters, sorting or other data manipulation to do your deletions.
Note the formula uses anchored ranges ($) =SUMPRODUCT((A2=$A$2:$A$7)*(B2=$B$2:$B$7)*(C2=$C$2:$C$7))
-
WSCecil
AskWoody Loungerput an
Application.EnableEvents = False
before the Workbooks.Open statement. -
WSCecil
AskWoody LoungerOK, got that. I never saw the “blocked content” security warning above the row headers before, though apparently it was there until I went to the VBA IDE.
But why is the behavior not consistent? (silly me, M$ programmed it) Sometimes the securty dialog pops up and sometimes there is a security dialog between the ribon and the row headers. Now I notice that I do not get the popup security dialog until after I have gone to the VBA IDE. That most likely was the behavior before, but I never saw the “blocked content” warning.
-
WSCecil
AskWoody LoungerI am openning a spreadsheet with a macro. The target spreadsheet has an autoopen macro, which I want to run when opened manually, but not when I open it with a macro. How do I accomplish this. Thanks.
-
WSCecil
AskWoody LoungerI am openning a spreadsheet with a macro. The target spreadsheet has an autoopen macro, which I want to run when opened manually, but not when I open it with a macro. How do I accomplish this. Thanks.
-
WSCecil
AskWoody LoungerI am openning a spreadsheet with a macro. The target spreadsheet has an autoopen macro, which I want to run when opened manually, but not when I open it with a macro. How do I accomplish this. Thanks.
-
WSCecil
AskWoody LoungerI am openning a spreadsheet with a macro. The target spreadsheet has an autoopen macro, which I want to run when opened manually, but not when I open it with a macro. How do I accomplish this. Thanks.
-
WSCecil
AskWoody LoungerI am openning a spreadsheet with a macro. The target spreadsheet has an autoopen macro, which I want to run when opened manually, but not when I open it with a macro. How do I accomplish this. Thanks.
-
WSCecil
AskWoody LoungerI am openning a spreadsheet with a macro. The target spreadsheet has an autoopen macro, which I want to run when opened manually, but not when I open it with a macro. How do I accomplish this. Thanks.
-
WSCecil
AskWoody LoungerI am openning a spreadsheet with a macro. The target spreadsheet has an autoopen macro, which I want to run when opened manually, but not when I open it with a macro. How do I accomplish this. Thanks.
-
WSCecil
AskWoody LoungerNow that I have this working, I can say that the effect takes effect immediately. I do not have to restart the computer or the application. When I open a new project, it reads the registry.
-
WSCecil
AskWoody LoungerI found it, thanks. I simplified it to the following and it worked. Next I typed in the paths I needed, one at a time. I have no Idea what I big fingered when I change the exported reg file, but I must have been consistent, because I started over more than once.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESOFTWAREORACLEKEY_DevSuiteHome3]
“FORMS_PATH”=”Value1”_____________________________
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINESOFTWAREORACLEKEY_DevSuiteHome3]
“FORMS_PATH”=”Value2”___________________________________
Thanks for your help
-
WSCecil
AskWoody LoungerI rebooted and it did not make any differenct
-
WSCecil
AskWoody LoungerI want to update it. Basicaly I want two reg files and I want to swap between config 1 and config 2
-
WSCecil
AskWoody LoungerThanks. I did have a reference set. If I had stopped trying to use Application.Workbookfunctions and simply used the object browser I would have found what I was looking for.
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
Windows hosting exposes additional bugs
by
Susan Bradley
1 hour, 39 minutes ago -
No more rounded corners??
by
CWBillow
4 hours, 4 minutes ago -
Android 15 and IPV6
by
Win7and10
2 hours, 45 minutes ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
14 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
16 hours, 42 minutes ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
11 hours, 16 minutes ago -
Windows Update orchestration platform to update all software
by
Alex5723
1 day ago -
May preview updates
by
Susan Bradley
11 hours, 24 minutes ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
2 hours, 59 minutes ago -
Just got this pop-up page while browsing
by
Alex5723
16 hours, 13 minutes ago -
KB5058379 / KB 5061768 Failures
by
crown
13 hours, 17 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
2 hours, 37 minutes ago -
At last – installation of 24H2
by
Botswana12
1 day, 15 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
2 hours, 35 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
2 days, 3 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
2 hours, 11 minutes ago -
Limited account permission error related to Windows Update
by
gtd12345
2 days, 17 hours ago -
Another test post
by
gtd12345
2 days, 17 hours ago -
Connect to someone else computer
by
wadeer
2 days, 11 hours ago -
Limit on User names?
by
CWBillow
2 days, 15 hours ago -
Choose the right apps for traveling
by
Peter Deegan
2 days, 4 hours ago -
BitLocker rears its head
by
Susan Bradley
1 day, 12 hours ago -
Who are you? (2025 edition)
by
Will Fastie
1 day, 11 hours ago -
AskWoody at the computer museum, round two
by
Will Fastie
2 days, 7 hours ago -
A smarter, simpler Firefox address bar
by
Alex5723
3 days, 3 hours ago -
Woody
by
Scott
3 days, 13 hours ago -
24H2 has suppressed my favoured spider
by
Davidhs
1 day, 12 hours ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
4 days, 3 hours ago -
MS Office 365 Home on MAC
by
MickIver
3 days, 21 hours ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
4 days, 17 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.