-
WSsiflaar
AskWoody LoungerYes, this will do the trick
Thanks again -
WSsiflaar
AskWoody LoungerThanks for the reply,
I will solve it an other way. -
WSsiflaar
AskWoody LoungerHello Hans,
Great solution. I understand it, but have no clue how to change the SQL so it will work.
As example here the SQL of the duplicate query:SELECT tblTekstBestand.controle, tblTekstBestand.nummer, tblTekstBestand.[Type profiel code], tblTekstBestand.[Type profiel oms], tblTekstBestand.Peildatum, tblTekstBestand.[Type relatiegroep code], tblTekstBestand.[Code relatiegroep], tblTekstBestand.[Intern specialisme code]
FROM tblTekstBestand
WHERE (((tblTekstBestand.controle) In (SELECT [controle] FROM [tblTekstBestand] As Tmp GROUP BY [controle] HAVING Count(*)>1 )))
ORDER BY tblTekstBestand.controle;the field [nummer] has the autonumber values.
Could you please explane what to change to only show the lowest numbers of the duplicates?
Thanks in advance.
Patrick Schouten
The Netherlands -
WSsiflaar
AskWoody LoungerI already found a solution, just keep the object selected and change all settings before creating the next shape
Patrick
-
WSsiflaar
AskWoody LoungerThanks Hans,
When creating the buttons I also have some problems.
There seems no way to control the names of the shapes when creating them. When deleting all shapes and recreating them the first one is not named “Button 1” anymore
Is there a way when creating the buttond to define there name directly?
Or is the a simple way to loop through al shapes afterwards to set the OnAction and Caption properties?greetings
Patrick -
WSsiflaar
AskWoody Loungerthanks Hans.
-
WSsiflaar
AskWoody LoungerHans,
Thanks for the suggestion.
The DoEvents did not solve the problem
I used te following: Application.Wait (Now + TimeValue(“0:00:01”)) -
WSsiflaar
AskWoody LoungerHans,
I solved it.
The secions(1) is the problem… because the document has more sectionsThanks,
Patrick -
WSsiflaar
AskWoody LoungerHello Hans,
I have tried both solutions, but they are not working
I even tried to unprotect the document before the update, but that is also not working.
The referencefields in the header are not updated, only when I swith to Print Preview -
WSsiflaar
AskWoody LoungerHans,
Again thanks for the quick and correct reply.
Patrick -
WSsiflaar
AskWoody LoungerHans,
I have never worked with DoEvents.
Could you explane a bit about this function?
And could you explane why the code is working now with the OnTime function? -
WSsiflaar
AskWoody LoungerHello Hans,
This seems to work, but when recreating the toolbar, it is not showing the buttons until I hit a key on the keyboard or click with the mous in the sheet.
Any idea?(mmm this not always the case!)
-
WSsiflaar
AskWoody LoungerHello Jan Karel,
I delete it just to keep track of all the buttons, faces and macro’s
The sheets have different buttons to navigate to different sheets. So I have setup a case list to create the correct captions, faces and actions for every sheet -
WSsiflaar
AskWoody LoungerAgain Hans,
Thanks for sharing you knowledge -
WSsiflaar
AskWoody LoungerHAns,
Just another question about this.
Is it possible when opening workbooks with a for/next loop to check when opening a workbook if that workbook has external links at al?
If you look at the Excel menu ,edit, links (I’m not sure about the correct english menu names) you see an overview of the links used by that workbook.
Is it possible to read those links in a variable?
![]() |
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
-
Google : Extended Repair Program for Pixel 7a
by
Alex5723
1 hour, 43 minutes ago -
Updates seem to have broken Microsoft Edge
by
rebop2020
5 hours, 27 minutes ago -
Wait command?
by
CWBillow
2 hours, 8 minutes ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
8 hours, 22 minutes ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
14 hours, 58 minutes ago -
Windows 10 finally gets fix
by
Susan Bradley
23 hours, 51 minutes ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
1 day, 1 hour ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
19 hours, 44 minutes ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
1 day, 14 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
1 day, 15 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
10 hours, 4 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
6 hours, 45 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
2 days, 2 hours ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
2 days, 6 hours ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
2 days, 6 hours ago -
Unable to eject external hard drives
by
Robertos42
16 hours, 48 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
4 hours, 29 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
2 hours, 23 minutes ago -
Synology limits hard drives
by
Susan Bradley
3 days, 10 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
2 days, 12 hours ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
3 days, 16 hours ago -
Upgrade Sequence
by
doneager
3 days, 9 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 15 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
2 days, 8 hours ago -
The incredible shrinking desktop icons
by
Thumper
4 days, 13 hours ago -
Windows 11 Insider Preview Build 22635.5240 (23H2) released to BETA
by
joep517
4 days, 15 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 14 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 7 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
5 days ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
10 hours, 11 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.