Results 1 to 3 of 3

Thread: Upgraded to Windows 10 and broke passworded textbox
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    Board Regular
    Join Date
    Feb 2012
    Location
    Warrenton, VA
    Posts
    463
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Upgraded to Windows 10 and broke passworded textbox

    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!!

    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 by Sven62; Jul 26th, 2019 at 12:07 PM.

  2. #2
    Moderator mole999's Avatar
    Join Date
    Oct 2004
    Location
    UK
    Posts
    9,854
    Post Thanks / Like
    Mentioned
    16 Post(s)
    Tagged
    2 Thread(s)

    Default Re: Upgraded to Windows 10 and broke passworded textbox

    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
    • Yes I know there are better ways to do it. I just wish I knew them. - 97, 2003, 2007, 2010, 2013, 2016 & 2019
    • I wear my ignorance openly, excel is not my chosen career, its a means to an ends
    • Posting Guidelines Want to post well laid out questions and answers Translate Excel Versions
      Code:
      [CODE ]Put Your Code[/ CODE]
    • Settings > General Settings (on the left) scroll to the bottom, > Miscellaneous Options > Use ENHANCED
    • X-Posting Guidelines Rule 13 > CHART STUFF

  3. #3
    Board Regular
    Join Date
    Feb 2012
    Location
    Warrenton, VA
    Posts
    463
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Upgraded to Windows 10 and broke passworded textbox

    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.

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •