-
WSjstevens
AskWoody LoungerI have an interesting delimma; when I right click on it I receive the following error message.
Is there a fix to the registery that can be made?
Thanks,
John -
WSjstevens
AskWoody LoungerYes, It is Excel 2003.
Regards,
John -
WSjstevens
AskWoody LoungerI found something online:
Code:Public Function EOMonth(InputDate As Date, Optional MonthsToAdd As Integer) ' Returns the date of the last day of month, a specified number of months ' following a given date. Dim TotalMonths As Integer Dim NewMonth As Integer Dim NewYear As Integer If IsMissing(MonthsToAdd) Then MonthsToAdd = 0 End If TotalMonths = Month(InputDate) + MonthsToAdd NewMonth = TotalMonths - (12 * Int(TotalMonths / 12)) NewYear = Year(InputDate) + Int(TotalMonths / 12) If NewMonth = 0 Then NewMonth = 12 NewYear = NewYear - 1 End If Select Case NewMonth Case 1, 3, 5, 7, 8, 10, 12 EOMonth = DateSerial(NewYear, NewMonth, 31) Case 4, 6, 9, 11 EOMonth = DateSerial(NewYear, NewMonth, 30) Case 2 If Int(NewYear / 4) = NewYear / 4 Then EOMonth = DateSerial(NewYear, NewMonth, 29) Else EOMonth = DateSerial(NewYear, NewMonth, 28) End If End Select End Function
-
WSjstevens
AskWoody LoungerCourtney,
Thanks for your response. Your suggestion only addresses the backup process of the Time Capsule; pointing to another drive and creating sparsebundles.
If you recall, TC can also be used to store data, music and etc.. With this in mind I am looking for a means of creating an entire drive image of the Time Capsule.
Regards,
John -
WSjstevens
AskWoody LoungerThanks for your suggestion..it worked.
Regards,
John -
WSjstevens
AskWoody LoungerTry this (I’ve highlighted the separate SUBSTITUTE functions:
=SUBSTITUTE(SUBSTITUTE(A1,”SwapText_01″,””),”SwapText_02″,””)
Works perfectly.
Thank you,
John -
WSjstevens
AskWoody LoungerHans,
Thanks for the suggestion.
John
-
WSjstevens
AskWoody LoungerHans,
I tried your suggestion and it returned a “#Value”; referencing another file. I then tried it within the same workbook; different sheet and received the #Value as well.
Regards,
John -
WSjstevens
AskWoody LoungerYou probably haven’t followed Steve’s instructions entirely correctly. See the attached version.
Sorry, my error as I did not leave F1 blank as instructed by Steve. All is well.
Thanks Steve and Hans,
John -
WSjstevens
AskWoody LoungerSet your criteria to only F1:F2
F1 should be blank (since F2 will have a formula)
F2 should have:
=NOT(ISBLANK(B2))Steve
Hi Steve,
I tried your suggestion without success. The end result of your suggestion lists all the items and does not pare down the information to what I have highlighted in green.
Regards,
John -
WSjstevens
AskWoody LoungerI tried it on my PC, and it worked fine with spaces in the file name.
Are some of the files read-only, perhaps?Great observation! Now I’m embarrassed.
I removed the read-only and it worked.
Thanks again.
John -
WSjstevens
AskWoody LoungerTry specifying the full path:
Kill “C:MyFolderMySubfolderCopy of*.xls”
Han,
I should have been more clear as to what I’m trying to achieve.oPath = “C:MyFolderMySubfolder”
oEraseFiles = “Copy of*.xls”Kill oPath & oEraseFiles
The error message I receive is “Path/File” access error. I believe this to be related to the space.
Regards,
John -
WSjstevens
AskWoody LoungerI’m sorry, I can’t explain that. What happens if you single-step through the code?
Stepping through the code provides enough time for the file attribute to change. All other lines of code run as expected.
Seem to be a timing difference in seconds.
Regards,
John -
WSjstevens
AskWoody LoungerHans,
It’s still happening.
My code example is:
[codebox]’File Attributes
FileAttribute = GetAttr(sPathOfSourceFile & strFileName) And vbHiddenIf FileAttribute = 2 Then
SetAttr (sPathOfSourceFile & strFileName), vbNormal
Do While GetAttr(sPathOfSourceFile & strFileName) 0
DoEvents
Loop
End If
[/codebox]Regards,
John -
WSjstevens
AskWoody LoungerA non macro method (I’m using 2003 – Due to limitations of the Find routine, this method will not work in earlier versions):
Select the range you want to affect
Ctrl F to launch Find dialog
enter the data to find, check the match entire cell option
Click Find All
Highlight the results that appear
Click Close
Ctrl+”-” (launches delete dialog) choose Entire Row
OK outYou go me to think this out a little more. If one could pass the cell addresses to an array and then delete the each row of the array that may work.
If you select a number of cells by using the Ctrl Key and left click; one can delete all rows at the same time.
Thanks for taking another look,
John
![]() |
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
-
What happened to Web Select?
by
John Harley
4 hours ago -
StatCounter : Windows 11’s market share is unchanged and not going anywhere.
by
Alex5723
5 hours, 3 minutes ago -
How to view 1990’s files with graphics content. Lotus 123 .wk1/.FMT Harvard.DWG
by
Theodor Arrenbrecht
4 hours, 55 minutes ago -
macOS Sonoma can be installed on 83 unsupported Macs
by
Alex5723
5 hours, 49 minutes ago -
Unable to create home network connection between Win 7 and Win 10 machines
by
maddaze
6 hours, 30 minutes ago -
Entering pin to start windows 11 22h2
by
mike4381
8 hours, 14 minutes ago -
Version 1809/Server 2019 kb5030214 problem question?
by
69800
7 hours, 8 minutes ago -
Ghacks Author Filter
by
rdleib
6 hours, 30 minutes ago -
ZenRAT Malware Targets Windows Users Via Fake Bitwarden Password Manager
by
Alex5723
15 hours, 9 minutes ago -
Waterfox G just gets better and better
by
Ascaris
15 hours, 30 minutes ago -
Microsoft Backup triggers help-desk calls and confusion
by
Susan Bradley
2 hours, 48 minutes ago -
How Amazon ejected AI-written e-books from its bestseller lists
by
B. Livingston
2 hours, 17 minutes ago -
Ten stunning features in Microsoft Word
by
Peter Deegan
2 hours, 40 minutes ago -
Thunderbolt
by
Ed Tittel
8 hours, 3 minutes ago -
VeraCrypt updates
by
Alex5723
7 hours, 53 minutes ago -
A.I. and AskWoody
by
WCHS
19 hours, 30 minutes ago -
Where is Windows Update?
by
bsfinkel
7 hours, 19 minutes ago -
mailwasher
by
jferr333
22 hours, 16 minutes ago -
Windows Photos
by
Linda2019
23 hours, 5 minutes ago -
OT QuickBooks payroll module not letting you efile 941
by
Susan Bradley
1 day ago -
MSA logins have been retired from DPC May 1st
by
Cormy1
1 day ago -
Administrator Lock
by
John Monge
1 day, 4 hours ago -
Skype cancels loopback audio
by
Steven
1 day, 7 hours ago -
Python re-installation
by
WSepzcaw
14 hours, 42 minutes ago -
Finally updated to Thunderbird 115
by
EricB
4 hours, 34 minutes ago -
Hard drive boot up problem in Windows AND Linux
by
rkacmar
17 hours, 47 minutes ago -
WSUS fails to download monthly Cumulative Update for Windows 11 Version 22H2
by
Bruce23
23 hours, 17 minutes ago -
Excel tone
by
WSmmi16
2 hours, 6 minutes ago -
Wait for the bugs to be worked out
by
Susan Bradley
1 day, 10 hours ago -
What Windows Really Needs [Pure OPINION]
by
RetiredGeek
1 day, 2 hours ago
Recent blog posts
- Microsoft Backup triggers help-desk calls and confusion
- How Amazon ejected AI-written e-books from its bestseller lists
- Ten stunning features in Microsoft Word
- Thunderbolt
- Wait for the bugs to be worked out
- MS-DEFCON 4: Is Windows 11 really a disaster?
- Windows 11, Surface, and Windows Copilot
- Why File Explorer keeps me on Windows
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
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-2023 by AskWoody Tech LLC. All Rights Reserved.