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:

mole999

Moderator
Joined
Oct 23, 2004
Messages
9,899
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.
 

Forum statistics

Threads
1,082,601
Messages
5,366,571
Members
400,902
Latest member
fathima

Some videos you may like

This Week's Hot Topics

Top