-
WSbandido
AskWoody LoungerYes. The latter. Thanks. I am still experiencing difficultes. Would you take a look at the code, please. I will try to explain what I’m trying to achieve.
I am trying to simulate the memory game where, when to identical symbols are uncovered they remain visible whereas none matches become invisible. On sheet 1, formatted with Wingdings font, I have a 6X6 grid containing 18 pairs of Wingdings whose font colors match the cell background colors. When I select cells, initially the font changes to red thus revealing the symbols. If they match, I want the font color to stay red. If they don’t match I want the font color to return to the cell background color thereby rendering them invisible. I think I need a loop somewhere but I have hit a blind spot. Any advice would be appreciated.Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(ActiveCell, Range(“C2:H7”)) Is Nothing Then Exit Sub
ActiveCell.Font.ColorIndex = 3‘Add the ActiveCell value and address to sheet3
Sheets(“Sheet3”).Range(“A65536”).End(xlUp).Offset(1).Value = ActiveCell.Value
Sheets(“Sheet3”).Range(“B65536”).End(xlUp).Offset(1).Value = ActiveCell.Address
Application.Wait Now() + 1 / 43200‘Check that 2 addresses have been added
If Sheets(“Sheet3”).Range(“C4”).Value = 2 Then
‘Check if the two cell values from sheet are the same. If so change font color.
If Sheets(“Sheet3”).Range(“A2”).Value = Sheets(“Sheet3”).Range(“A3”) Then
Worksheets(“Sheet1”).Range(Worksheets(“Sheet3”).Range(“B2”)).Font.ColorIndex = 3
Worksheets(“Sheet1”).Range(Worksheets(“Sheet3”).Range(“B3”)).Font.ColorIndex = 3‘ If not the same, change the font color to match the cell color.
Else
Worksheets(“Sheet1”).Range(Worksheets(“Sheet3”).Range(“B2”)).Font.ColorIndex = 35
Worksheets(“Sheet1”).Range(Worksheets(“Sheet3”).Range(“B3”)).Font.ColorIndex = 35
End If
End IfSheets(“Sheet3”).Range(“A2:B3”).ClearContents
End Sub
-
WSbandido
AskWoody Lounger -
WSbandido
AskWoody Lounger -
WSbandido
AskWoody Lounger -
WSbandido
AskWoody Lounger -
WSbandido
AskWoody LoungerMany thanks, Hans.
-
WSbandido
AskWoody LoungerThanks John and Steve. More food for thought.
Regards
-
WSbandido
AskWoody LoungerHi Hans
The impenetrable black cloud has now been replaced by a dense fog.
-
WSbandido
AskWoody LoungerHi Hans
Thanks for the reply. I didn’t explain myself properly. I wanted the change to occur each second, or even every two seconds, for 10 occasions only, well below the danger frequency, I believe (another assumption), but I take your point.
-
WSbandido
AskWoody Lounger -
WSbandido
AskWoody LoungerThanks Stuart and Hans for the input. Sorry for the delay in responding – power problems.
I compared my settings with your graphic. Their was an additional US entry which I removed. All is now well and yes, it is a UK keyboard.All the best for 2008.
-
WSbandido
AskWoody LoungerHi Stuart.
The “key is the shift 2 key and the ” key is the shift ‘ key, ie standard. All other shift operations seem to work as expected. I’ve supplied a screenshot of the settings.
Thanks
-
WSbandido
AskWoody LoungerThanks John. I’ll experiment.
-
WSbandido
AskWoody LoungerHi Steve
Many thanks for the links. I’ll go away and play.
Regards
-
WSbandido
AskWoody LoungerOh well! Back to the drawing board. Thanks Hans.
![]() |
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
-
Nvidia just fixed an AMD Linux bug
by
Alex5723
6 hours, 9 minutes ago -
50 years and counting
by
Susan Bradley
8 hours, 29 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
4 hours, 30 minutes ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
17 hours, 13 minutes ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
17 hours, 18 minutes ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
17 hours, 22 minutes ago -
OneNote and MS Word 365
by
CWBillow
19 hours, 11 minutes ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
19 hours, 22 minutes ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
19 hours, 35 minutes ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
19 hours, 46 minutes ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
1 day, 7 hours ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
1 day, 7 hours ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
1 day, 16 hours ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
1 day, 4 hours ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
5 hours, 5 minutes ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
2 days, 1 hour ago -
Apple backports fixes
by
Susan Bradley
1 day, 7 hours ago -
Win 11 24H2 will not install
by
Michael1950
5 hours, 18 minutes ago -
Advice to convert MBR to GPT and install Windows 11 Pro on unsupported PC
by
Andy M
1 hour ago -
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
13 hours, 47 minutes ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
2 days, 3 hours ago -
Get back ” Open With” in context menus
by
CWBillow
2 days, 15 hours ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
1 day, 7 hours ago -
simple general stupid question
by
WSaltamirano
2 days, 13 hours ago -
April 2025 Office non-Security updates
by
PKCano
3 days, 6 hours ago -
Microsoft wants to hear from you
by
Will Fastie
21 hours, 58 minutes ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
3 days, 10 hours ago -
Europe Seeks Alternatives to U.S. Cloud Providers
by
Alex5723
3 days, 15 hours ago -
Test post
by
Susan Bradley
3 days, 18 hours ago -
Used Systems to delete Temp files Gone WRONG what does this mean?
by
Deo
3 days, 19 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.