Results 1 to 4 of 4

Enable/Disable Form Button with password

Threaded View

  1. #1
    Forum Contributor
    Join Date
    01-25-2021
    Location
    Atlanta, Georgia
    MS-Off Ver
    365
    Posts
    144

    Enable/Disable Form Button with password

    Hello,

    I have 2 buttons on Sheet1 that either protects or unprotects Sheet2 and Sheet3. I would like buttons to be only enabled if correct password ("1234") is entered into B4.

    Additionally I would like the passcode to automatically erase once I either leave the sheet or close workbook.

    This should be an easy fix but I'm a toddler still learning to walk & talk VBA scripting. Please help....thank you!

    Of course if there is a better way to lock objects I would welcome all advice and criticism.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Form Control Start time & End time button enable or disable in sequence coding issue
    By sboy72817 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-06-2016, 07:05 AM
  2. enable disable user form option button group
    By bsapaka in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-08-2014, 09:17 PM
  3. enable/disable a command button in User Form w/ condition
    By Bidyut Chakraborty in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2014, 03:11 AM
  4. How I do disable and enable web browser control in access form on button click
    By krjoshi in forum Access Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2013, 02:58 PM
  5. [SOLVED]VBA - Button(Form Control)-Disable/Enable->Alternate Solution
    By mcmunoz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-20-2013, 02:56 AM
  6. A password protected Macro to enable and disable other macros?
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-16-2011, 03:04 PM
  7. excel disable save but enable with password prompt?
    By techmob in forum Excel General
    Replies: 6
    Last Post: 06-17-2011, 03:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1