+ Reply to Thread
Results 1 to 8 of 8

Bold text and highlight cell for new classrooms

  1. #1
    Registered User
    Join Date
    10-17-2019
    Location
    Vancouver, Canada
    MS-Off Ver
    2016
    Posts
    3

    Bold text and highlight cell for new classrooms

    Hi,
    I'm trying to bold and highlight every time a new classroom is reported in my excel table. How do I automate this? I have many classrooms.
    This is my excel sheet:

    Classroom season Q1 Q2 Q3 ...
    Classroom A winter 45 67 32 89
    Classroom A fall 45 86 34
    Classroom A spring 45 98 5 32
    Classroom B winter 68 21 98
    Classroom B fall 67 98 27
    Classroom B spring 98 32 90

    etc...

    What I would like is the following (I can bold but can't highlight the cells in this post!):

    Classroom season Q1 Q2 Q3 ...
    Classroom A winter 45 67 32 89
    Classroom A fall 45 86 34
    Classroom A spring 45 98 5 32
    Classroom B winter 68 21 98
    Classroom B fall 67 98 27
    Classroom B spring 98 32 90

    Thanks!

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Bold text and highlight cell for new classrooms

    Hi,
    How are these classrooms added?
    Are you using a macro or just entering the values manually by a user? In the latter case just make them highlight it the moment they add a new classroom.
    Using VBA you just add the code to change the cells'f font and interior color to your needs.
    If you also have a column with the date added you can add conditional formatting for modifications on the current data and the day before so that you can see what has changed today and yesterday.
    You understand that with your explanation all this is based on assumptions and we do not know what your VBA skills are if it's macro related
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    10-17-2019
    Location
    Vancouver, Canada
    MS-Off Ver
    2016
    Posts
    3

    Re: Bold text and highlight cell for new classrooms

    Hi, thank you for responding so quickly. This is the data said that I have. I did not manually enter this information. I have no VBA skills. Are you saying this is possible to do in VBA?

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Bold text and highlight cell for new classrooms

    It all depends on how the data is entered (manually or not) but with VBA you can perform 'miracles'
    If you say 'this is the data that I have"well, how do YOU know what's a ane classroom?
    Try thinking about the logic of your question action is reaction, so no action, no reaction.

  5. #5
    Registered User
    Join Date
    10-17-2019
    Location
    Vancouver, Canada
    MS-Off Ver
    2016
    Posts
    3

    Re: Bold text and highlight cell for new classrooms

    I found an article to use conditional formatting to create a custom rule. I use this formula =COUNTIF(A$1:A1,A1)=1 but it only highlights the cell. How do I change the formula or the conditional formatting to highlight rows instead of cells?

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Bold text and highlight cell for new classrooms

    Even you set thé condicional format there is a field where it says “ applies to” here you indicate the range you want it to apply to

  7. #7
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Bold text and highlight cell for new classrooms

    If I were you I would NOT highlight the entire row but just the range's row.
    This increases the file's size unnecessarily since you have over 1000 columns

  8. #8
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Bold text and highlight cell for new classrooms

    Conditional formatting

    =ISNUMBER(SEARCH("winter",$A2))

    format

    font stile bold

    applies to =$A$2:$A$100

+ 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] Highlight specific texts in a cell with red bold font using VBA
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-06-2017, 10:38 AM
  2. Replies: 3
    Last Post: 04-05-2017, 04:01 AM
  3. Find and highlight/bold/underline/colour a block of matching text (is this possible?)
    By joelhuang in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-02-2011, 07:44 AM
  4. Split cell - bold text and non bold text.
    By desertshift in forum Excel General
    Replies: 10
    Last Post: 11-21-2010, 08:13 PM
  5. Macro Help / Bold and Highlight current cell
    By brenakie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2009, 11:07 AM
  6. Replies: 0
    Last Post: 08-21-2006, 05:10 PM
  7. Join bold and non-bold text in one cell
    By bkincaid in forum Excel General
    Replies: 3
    Last Post: 03-20-2006, 09:10 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