+ Reply to Thread
Results 1 to 3 of 3

Value cell change color in userform

  1. #1
    Forum Contributor
    Join Date
    07-10-2013
    Location
    Veendam
    MS-Off Ver
    Excel 2007
    Posts
    100

    Value cell change color in userform

    Hello all,

    It Is possible when the value in cell N2 is Yes that the textbox in the userform will be green en when the value in cell N2 is NO that the color of the textbox in the userform is red?

    See also my example.

    Thanks for the help.

    Greetings,

    Danielle
    Attached Files Attached Files

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Value cell change color in userform

    Hi Danielle,

    You can add the following code to the userform's Initialize event. Right-click the UserForm in the VBA Editor screen and select View Code. Copy/paste the following:
    Please Login or Register  to view this content.
    Hope that helps!

  3. #3
    Forum Contributor
    Join Date
    07-10-2013
    Location
    Veendam
    MS-Off Ver
    Excel 2007
    Posts
    100

    Re: Value cell change color in userform

    Hi Paul,

    Thank you

    Greetings,

    Danielle

+ 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. Change color of ellipse on userform
    By Bleekscheetje in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-12-2013, 01:51 PM
  2. Replies: 5
    Last Post: 05-10-2012, 10:49 PM
  3. Can background color of frame change on userform by combobox selection on userfor
    By teacher_rob in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-12-2011, 05:47 PM
  4. Format cell color on change, how to change the color in other columns as well?
    By s80NL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-28-2007, 09:24 PM
  5. Userform-Change textbox color and font based on input in other tex
    By Neal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-21-2005, 08:05 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