+ Reply to Thread
Results 1 to 4 of 4

Cell color and text box

  1. #1
    Registered User
    Join Date
    06-28-2012
    Location
    Shawano, WI
    MS-Off Ver
    MS365 version 2310
    Posts
    98

    Cell color and text box

    Hello -

    I have 2 questions, both dealing with automating tasks. The first is that I would like to have a macro that would run that would change the color in cells that would have the word FALSE in it. I have 3 columns J, N and T that are checking columns and would either read TRUE or FALSE. If the color could be red that would even be better.

    The second question has to do with having a pop up text box to appear asking for a company name to be typed into it. This name would then populate cells with item numbers in it. An example is below:
    Before After
    123 Smith 123
    156 Smith 156
    175 Smith 175
    156 Smith 156

    Thanks for all your help in advance!

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Cell color and text box

    You dont need a macro you need Conditional Formatting.
    Use the option that says "Use a formula to..."
    Select J1
    Enter this formula as a Conditional Format
    =(J1="FALSE")
    Format as red
    Now use Format Painter to copy the format to the other cells
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Cell color and text box

    And here is the code to preface data with a user-supplied company name:


    Please Login or Register  to view this content.
    Gary's Student

  4. #4
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Cell color and text box

    And here is the code to preface data with a user-supplied company name:


    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)

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