+ Reply to Thread
Results 1 to 3 of 3

Change color of the textbox (Form Controls) based on checkbox selection

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

    Change color of the textbox (Form Controls) based on checkbox selection

    I am not using User Form. I am doing regular spreadsheet but enhancing it with the Developer (Form Controls and Active X Controls). I want the textbox cells (B8-H11) turned grey or deactivated if checkbox C is checked. Please help me with both scenarios color and deactivation.

    Also If A is not checked, textbox2 or cells (B8-H11) should be disabled.
    Attached Files Attached Files
    Last edited by olga6542; 02-12-2019 at 08:50 PM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Change color of the textbox (Form Controls) based on checkbox selection

    This will disable TextBox2 when CheckBox3 is checked.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

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

    Re: Change color of the textbox (Form Controls) based on checkbox selection

    I also need if A is not checked, disable the textbox 2. Can you help with that?

+ 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] Cell value based on change in Form Controls
    By szaqyt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2015, 06:40 AM
  2. [SOLVED] Use VBA to change worksheet tab color based on ActiveX checkbox values
    By penny in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-19-2015, 02:12 PM
  3. Cell color change based on Textbox
    By Helgard25 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2014, 05:55 AM
  4. change textbox color on subform based on condition on another form
    By rlsublime in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2014, 10:04 PM
  5. [SOLVED] Looping through CheckBox Controls on Excel Form
    By Cooper2251 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-19-2013, 04:00 PM
  6. Change Cell Color based on Textbox
    By Jeffjr02 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 11:34 AM
  7. Change Userform Textbox based on GUI Cell Selection
    By canyon289 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-09-2011, 06:21 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