+ Reply to Thread
Results 1 to 2 of 2

If checkbox is checked, disable the cells

  1. #1
    Forum Contributor
    Join Date
    10-15-2009
    Location
    Broooklyn, NY
    MS-Off Ver
    Excel 2016
    Posts
    207

    If checkbox is checked, disable the cells

    If the Yes checkbox is checked, I need the table (cells C7:F18) to be disabled.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: If checkbox is checked, disable the cells

    Use OptionButtons instead of CheckBoxes

    To install the code:
    • Right-click on the sheet tab.
    • Select View Code from the pop-up context menu.
    • Paste the code from below in the worksheet's code module.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. [SOLVED] If checkbox is checked copy cells from a sheet to another sheet if value equals to combobo
    By cyclodries in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-08-2019, 07:21 AM
  2. VBA code to Count cells with checked checkbox
    By Mr.Castle in forum Excel General
    Replies: 0
    Last Post: 01-03-2019, 09:19 PM
  3. [SOLVED] Macro for a button that clears cells adjacent to a checked checkbox
    By daveblair197 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-20-2015, 07:40 AM
  4. [SOLVED] When checkbox is checked it does not copy to new sheet. Only if not checked using false
    By thelisa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2013, 07:59 AM
  5. [SOLVED] VBA code to uncheck checkbox 2 & 3 if checkbox 1 is checked
    By hydz1213 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-25-2013, 03:10 AM
  6. Checkbox value to be pasted in cells when checked by user?
    By stingerz123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-04-2012, 05:56 PM
  7. How to have Checkbox A uncheck with checked Checkbox B
    By Texas Aggie 09 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2007, 09:29 AM

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