+ Reply to Thread
Results 1 to 2 of 2

How do I disable one button with the code of another button

  1. #1
    Registered User
    Join Date
    09-09-2020
    Location
    Ohio, USA
    MS-Off Ver
    Version 1908
    Posts
    35

    How do I disable one button with the code of another button

    I am creating a toggle button and I want it to be able to enable/disable the use of another button. The button I want the code for is Button1 and the button I want to enable/disable is Button2. How do I go about this?

  2. #2
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,151

    Re: How do I disable one button with the code of another button

    Try:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Disable Insert button code works fine, but some times throws Run-Time error '5'
    By challasl in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-18-2016, 05:41 AM
  2. VBA code to disable clear all filters button
    By vstanojkovic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2015, 07:09 AM
  3. vba code to disable only close button and close through a button in Excel workbook
    By atif_ar in forum Excel Programming / VBA / Macros
    Replies: 47
    Last Post: 11-23-2014, 02:41 PM
  4. Any vba code to disable only close button in Excel workbook, please?
    By Bon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-22-2014, 04:17 PM
  5. Create A Button In Document To Disable/Enable A Specific Line of Code
    By BLK306 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-05-2014, 02:12 PM
  6. VBA Code to Disable Excel Close button also disabling my Close Button
    By akynyemi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-28-2013, 12:56 PM
  7. Command Button to disable VBA code?
    By smohs14 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2012, 05:25 PM

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