-
David Mcnab
AskWoody PlusLOUNGERS…I received the following reply (and attachment) from Hans at Eileens’ Lounge………..
Re: Checking for duplicate/similar values
Postby HansV » 12 Apr 2013, 06:24
You can use the following array formula confirmed with Ctrl+Shift+Enter in N8:=IF(MAX(COUNTIF(D8:M8,Q$8:Q$16&”*”))>1,1,””)
Fill down to N19.
For this to work, all values in D8:M19 should be text values. You can turn the numbers 1, 2, etc. into text values by prefixing them with an apostrophe ‘.
To turn new entries into text automatically, format D8:M19 as Text.See the attached version.
-
David Mcnab
AskWoody PlusThank you,…saw that article a while back…iCloud works just fine…it is OLook that has the problem…..
-
David Mcnab
AskWoody PlusNovember 1, 2012 at 12:36 pm in reply to: Issues with making appointments in MS OL Calendar #1354225It is set as 8am to 5pm, and a work week is Mon-Fri….I have hunch it has something to do with using icloud……..at the moment, when I make an appointment in Calendar, it is made in the iCloud calendar (see 2nd screen shot attached)…if I uncheck the icloud selections and use the regular OL calendar, that problem disappears. I would be happy to do that, except that when it is in that selection mode, whenever I open the Calendar, it opens both the ‘regular’ calendar and the icloud one (showing 2 calendars), which is a nuisance.
-
David Mcnab
AskWoody PlusOK…sorry & thank you…I didn’t know there was such a policy.
-
David Mcnab
AskWoody PlusHi Steve….thank you for your reply, altho I can’t seem to actually find it…I have checked the cross post at eileenslounge but there is no message orattachment..??..??
-
David Mcnab
AskWoody PlusThank you for that information, RG….alwasy appreciate everything that I find here.
-
David Mcnab
AskWoody PlusThank you Simon…..as with many things, the simpler the better….what I am doing is trying to find a format that will allow users to enter numbers (eg: 930, 1000, 1400 etc) and have them automatically formatted as times — your suggestion is perfect bc users don’t need to hit shift-colon to enter the time separator – only the numbers, so this is ideal….thank you !
-
David Mcnab
AskWoody PlusThank you for that Steve…I will set it up like that and give it a test.
-
David Mcnab
AskWoody PlusHi Steve….yes, there is code for the POSTPONE procedure, actually I think you helped me with it…that code is:
Option Explicit
Public Sub Postpone(Target As Range, strStatusCol As String, strDataStartCol As String, strDataEndCol As String)
Const MsgTitle = “Trying to re-schedule ?…sorry…”
Dim NewDateRow As Long
Dim i As Long
Dim iTargetCol As Integer
Dim lngRow As Long
Dim wks As Excel.Worksheet
Dim rngCell As Excel.RangeSet wks = Target.Worksheet
lngRow = Target.Row
iTargetCol = Target.ColumnApplication.EnableEvents = False
‘Locate the first row of the requested new date
With wks
On Error GoTo BadDate
NewDateRow = Application.WorksheetFunction.Match(Val(Target.Value), .Range(“d:d”), 0)
On Error GoTo 0If .Cells(NewDateRow, strStatusCol) = “Closed” Then GoTo BadDate
‘Populate the “Rescheduled from” cell
‘ ## APPEARS TO BE POPULATING COL D, BUT THAT’S THE ONE WE CHANGED ANYWAY?! ##
‘ Target.Value = .Cells(Target.Row, iTargetCol – iOffset + 1)‘Locate the first available row
For i = 0 To 10
If .Cells(NewDateRow + i, strDataStartCol) = “” Then
Exit For
End If
Next i
If i = 11 Then
GoTo BadDate
Else
NewDateRow = NewDateRow + i
End If‘Move data to new row for columns 1-6 before target
For Each rngCell In .Range(.Cells(NewDateRow, strDataStartCol), .Cells(NewDateRow, strDataEndCol)).Cells
rngCell.Value = .Cells(lngRow, rngCell.Column).Value
If Right(UCase(Target.Value), 1) = “M” Then .Cells(lngRow, rngCell.Column).ClearContents
Next rngCellTarget.ClearContents
.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True, AllowFormattingRows:=True, _
AllowFormattingColumns:=True, AllowFormattingCells:=True, AllowSorting:=True, AllowFiltering:=True
End With
GoTo ExitHandlerBadDate:
On Error GoTo 0
MsgBox “” & “The selected date is not a Court day.”, _
vbCritical, MsgTitle
Target = “”ExitHandler:
Application.EnableEvents = True
End Sub
Public Sub MoveData(lngOld As Long, lngNew As Long, strCol As String)
Range(strCol & lngNew) = Range(strCol & lngOld)
Range(strCol & lngOld).ClearContents
End Sub……to move (or copy) the data in columns F:AE from one row to another (eg: from row 25 to row 47), you go to B25 and enter 47 (to copy) or 47M (to move) the data to row 47……it the sheet is protected, it triggers the ENDMACRO MsgBox (“You did not enter a valid time”) and doesn’t perform the copy (move)………if the sheet is unprotected, it works fine….my diffciulty is knowing where to insert the UNPROTECT and PROTECT code…..does this explain it better?
-
David Mcnab
AskWoody PlusHi Steve….I went to Chip Pearson’s site and found some code that enables me to enter a time (eg: 9:30am) as 930 in column K, and it will auto insert the colon separator….however, if the worksheet is protected, if I enter something in column B, it triggers the EndMacro message box and the macro won’t run….if I unprotect the sheet, it works fine…..can you tell me what to add to the Chip Pearson code that will fix this? I imagine it is some sort of ActiveSheet.Unprotect line (and a Protect line at the end, but I don’t know where to insert these lines into the code…I have attached the code as a text file…thank you.
-
David Mcnab
AskWoody PlusWill do…thank you again.
-
David Mcnab
AskWoody PlusWhat is the Hive Cleanup service? Do I need it, or if not, how do I shut it off…..I am on a network at my office and I also have ‘work’ VPN on my computer, so if I shut off the Hive Cleanup and deleted userenv.log, will that impair my access or use of the network?
-
David Mcnab
AskWoody PlusHi Joe….is it even I file that I (or the computer) needs? I recall seeing a couple of posts that said the file isn’t needed for ordinary, everyday computing….what do you think?
-
David Mcnab
AskWoody PlusHi Joe….is it even I file that I (or the computer) needs? I recall seeing a couple of posts that said the file isn’t needed for ordinary, everyday computing….what do you think?
-
David Mcnab
AskWoody PlusHi all…thanks for your help….I was able to do the following to fix this problem, altho I am not sure exactly what it is that did the trick….I had run a CHKDSK but this did not correct or fix the corrupt and unreadable file (userenv.log). So, I started in SAFE mode again and this time, I went to C:WINDOWSDebugUsermodeuserenv.log and renamed the userenv.log file as userenv.bak Then, I rebooted and it re-created userenv.log and everything was fixed…..not sure why but it worked.
![]() |
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
-
Teams lost all my Skype contacts (Awaiting moderation)
by
Lucy
4 hours, 35 minutes ago -
0Patch, where to begin
by
cassel23
8 hours, 31 minutes ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
11 hours, 31 minutes ago -
89 million Steam account details just got leaked,
by
Alex5723
19 hours, 55 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
20 hours, 4 minutes ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
11 hours, 2 minutes ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
13 hours, 26 minutes ago -
Installer program can’t read my registry
by
Peobody
4 hours, 24 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
8 hours, 49 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
16 hours, 10 minutes ago -
False error message from eMClient
by
WSSebastian42
1 day, 7 hours ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
1 day, 16 hours ago -
Office 2021 Perpetual for Mac
by
rebop2020
1 day, 17 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
14 hours, 5 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
1 day, 21 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
22 hours, 2 minutes ago -
Outdated Laptop
by
jdamkeene
2 days, 2 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
2 days, 7 hours ago -
Another big Microsoft layoff
by
Charlie
2 days, 7 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
4 hours, 54 minutes ago -
May 2025 updates are out
by
Susan Bradley
6 hours, 46 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
2 days, 13 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
2 days, 13 hours ago -
Drivers suggested via Windows Update
by
Tex265
2 days, 13 hours ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
9 hours, 30 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
2 days, 20 hours ago -
Apple releases 18.5
by
Susan Bradley
2 days, 14 hours ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
2 days, 21 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
2 days, 22 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
1 day, 6 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.