Upgraded to Windows 10 and broke passworded textbox

Sven62

Active Member
Joined
Feb 21, 2012
Messages
463
Any idea why upgrading from Windows 7 pro to Windows 10 would break a passworded textbox? Yes, they checked the caps lock key.

Every machine they upgraded now gets "The password was wrong, try again." Yes/No

All machines (Win7 and Win10) are using MS Office Professional Plus 2016 32 bit

Thanks!! :confused:

BTW.... I have Win 10 on my home computer and it works fine.

Code:
Private Sub UserForm_Activate() With UserForm13
   .Top = Application.Top + 275
   .Left = Application.Left + 200
 End With
End Sub


Private Sub CommandButton1_Click()


Dim strPass As String


strPass = "nakosi"


If TextBox1.Value = strPass Then
    Call UnprotectAllSheets
    Unload Me
Else
    If MsgBox("The password was wrong, try again", vbYesNo) = vbNo Then
        Unload Me
    Else
        TextBox1.Value = ""
        TextBox1.SetFocus
    End If
End If
End Sub
 
Last edited:

Some videos you may like

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

mole999

Moderator
Joined
Oct 23, 2004
Messages
10,294
Office Version
2019, 2016, 2013
Platform
Windows
did they install the references. have a look at your home machine and see if the work machines have them. has the vba been recompiled
 

Sven62

Active Member
Joined
Feb 21, 2012
Messages
463
Not sure what you mean. The Excel workbooks reside on a network drive, not on the individual computers. They run fine on the Win7 machines. The VBA still runs fine on the ones that have been upgraded to Win10 - except for these password protected TextBoxs. I am completely baffled.
 

Watch MrExcel Video

Forum statistics

Threads
1,095,708
Messages
5,446,085
Members
405,379
Latest member
EDGOUG

This Week's Hot Topics

Top