Locking Userform To Screen

  • Good day, i have created a multi purpose userform that i would like to lock to the entirety of a tablet so the the user of the tablet cannot leave the program without entering a code upon a close button.

    i used a code on a separate userform that worked perfectly to hide the boarders, that code is :

    However when i try use this same code when working on a different userform it does hide the boarders,,

    if there are any other methods i could try any help would be appreciated

  • This will work in both 32 bit and 64 bit Office. The Tablet may be using 32 Bit office.