-
H. Legare Coleman
AskWoody PlusThanks everyone. Has anyone used the XP FAX support who has also used Symantec’s WinFax Pro. I have a copy of that which I used on Win 2K and I really liked how it worked. If so, can you compare how the two work. I don’t think that WinFax Pro is still available, but the box says it works on XP so I am tempted to try installing it.
-
H. Legare Coleman
AskWoody PlusBecause the prorammers spent all their time working on the *^$# Registration/Activation Wizard?
-
H. Legare Coleman
AskWoody PlusHey!!!!!! I am the one who is getting to that age.
-
H. Legare Coleman
AskWoody PlusI do not understand. If the .End(XLUP) stops at a non-empty cell then are you saying that IsEmpty(LastCell) will be true?
-
H. Legare Coleman
AskWoody PlusYup, that is what I said in my last message. LastCell is set to the last cell with a value in it, therefore the IF IsEmpty(LastCell) is NEVER true. Try:
Set LastCell = .Cells(.Rows.Count, "J").End(xlUp)
to set LastCell to the cell below the last cell that is not empty.
-
H. Legare Coleman
AskWoody PlusIn addition to the missing End If that Hans pointed out, I see two additional things.
1- The line that reads:
Set LastCell = .Cells(.Rows.Count, "J").End(xlUp)
finds the last non empty cell in column J. Therefore, the following IF statement will never see an empty cell except when there is nothing in column J.
2- The line which reads:
.Cells(Irow, 1).Value = Me.txtEmployee
uses variable lrow to determine where to store the value. However, lrow is never assigned a value and will therefore always be the default zero. This will result in a run time error since zero is an invalid subscript for Cells.
-
H. Legare Coleman
AskWoody PlusHere is possible solution. First, unlink the textbox from the cell on the worksheet. Then remove your textbox change event code and put the code below in the module behind the userform:
Private Sub TxtCost_Exit(ByVal Cancel As MSForms.ReturnBoolean)
Dim curCost As Currency
If TxtCost = vbNullString Then Exit Sub
If Not IsNumeric(TxtCost) Then
MsgBox "Sorry, numbers only"
TextCost = vbNullString
Else
curCost = TxtCost
Worksheets("Sheet1").Range("A1").Value = curCost
End IfEnd Sub
Change “Sheet1” and “A1” in the above code to the sheet and cell where the cost is to be stored. Format the cell to display the value as you desire.
-
H. Legare Coleman
AskWoody PlusIt would make a lot more sense to me to use:
LogDate = Replace(Date,”/”,”-“)
That should make it look like this:
Status02-02-2008.log
Which is a lot easier to read and know what it is.
-
H. Legare Coleman
AskWoody PlusAs written, the code is confined to having cells in the range C4:C13 selected. However, the code assumes that only one cell will be selected, and that no cells outside of that range will be included in the selection. If the cells in the range C4:C13 can be selected by clicking in them, then they probably can be selected by tabbing into them. In other words, I think there are a number of possible problems with the code as written. You will have to more precisely specify how you want this to work (see my other reply) before code can be written without these problems.
-
H. Legare Coleman
AskWoody PlusNo, using On Error will not “Handle this”, it will just hide the problem. Using the Worksheet BeforeDoubleClick event will prevent the problem from happening. If you really do want to use the Worksheet SelectionChange event, then you will need to define what you want to happen if the user selects more than one cell in the given range. Do you want all of the selected cells to get the “x”? None of the cells? One particular cell, if so which one? Something else.
-
H. Legare Coleman
AskWoody PlusThat code will put a “x” into the cell if the active cell is a different cell and the user clicks in the cell. However, if the active cell is is already the cell (lets say the user selected the cell and then deleted the “x”), no “x” will be put into the cell. Also, if the user selects the cell by other means (tabs into it or gets there after pressing return, or by the arrow keys for example), then the “x” will be put into the cell. I think this would be a little too unpredictable for most users. Wouldn’t it be better to use the BeforeDoubleClick event? I would also recommend disabeling events before putting the “x” into the cell and then enabeling them again after. Putting the “x” into the cell will trigger the worksheet change event and possibly the worksheet calculate event which could result in a cascading event loop. If you do that, then you would also need to force a recalculate after reenableing events if there are formulas that are dependent on the cell where the “x” is being placed.
-
H. Legare Coleman
AskWoody PlusMy experience is that shared workbook become corrupted very frequently. If you must share a workbook, I would recommend backing it up every couple of hours and keep ALL of the backups so you can work back until you find one that is not corrupted.
-
H. Legare Coleman
AskWoody PlusThis would be easy to do if you wanted the comment in a cell rather than in a comment. If you want it in a cell, then you could use a formula like:
=”SPMH ” & TEXT(C1/D1,”$###,##0.00″)
If you must have it in a comment, then you will need to use VBA code in the Worksheet_Change event routine.
-
H. Legare Coleman
AskWoody PlusIt is still plugged in. I have just recently installed two new USB devices with no problems.
-
H. Legare Coleman
AskWoody PlusTry putting this modification to Hans code in the Thisworkbook module.
Private Sub Workbook_Open()
Dim r As Long
Application.EnableEvents = False
r = Worksheets("UsageLog").Cells(Rows.Count, 2).End(xlUp).Row + 1
Worksheets("UsageLog").Range("B" & r) = Now
Worksheets("UsageLog").Range("A" & r) = Environ("username")
Application.EnableEvents = True
End Sub
![]() |
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
-
Who knows what?
by
Will Fastie
12 minutes ago -
My top ten underappreciated features in Office
by
Peter Deegan
2 hours, 6 minutes ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
1 hour, 14 minutes ago -
Misbehaving devices
by
Susan Bradley
2 hours, 46 minutes ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
15 hours, 52 minutes ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
11 hours, 35 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
14 hours, 26 minutes ago -
Discover the Best AI Tools for Everything
by
Alex5723
14 hours, 35 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
4 hours, 44 minutes ago -
Rufus is available from the MSFT Store
by
PL1
12 hours, 46 minutes ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
1 day, 15 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
22 hours, 2 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
18 hours, 13 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
1 day, 11 hours ago -
Office gets current release
by
Susan Bradley
1 day, 14 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
3 days, 4 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
2 days, 12 hours ago -
Stop the OneDrive defaults
by
CWBillow
3 days, 4 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
3 days, 14 hours ago -
X Suspends Encrypted DMs
by
Alex5723
3 days, 17 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
3 days, 17 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
3 days, 17 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
3 days, 18 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
3 days, 6 hours ago -
Enabling Secureboot
by
ITguy
3 days, 13 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
4 days, 2 hours ago -
No more rounded corners??
by
CWBillow
3 days, 22 hours ago -
Android 15 and IPV6
by
Win7and10
3 days, 12 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
4 days, 14 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 days, 17 hours ago
Recent blog posts
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 |
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.