+ Reply to Thread
Results 1 to 2 of 2

Add row with formatting if text in cell OR add blank row filled with blue if blank

  1. #1
    Registered User
    Join Date
    06-12-2014
    Posts
    4

    Question Add row with formatting if text in cell OR add blank row filled with blue if blank

    I'm trying to create a macro that will add a row to the bottom of the table. The first two lines of the macro below does just that. However, I need to add the formatting from the previous line to the new row if there is text in the new row. If there is not text in the new row, I would like to make the new row blue but not add any other formatting. This is my attempt:

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Add row with formatting if text in cell OR add blank row filled with blue if blank

    Well, your countif does not have enough of the required inputs. Why not just check to see if it is blank, and if not then copy formatting, like this

    Please Login or Register  to view this content.
    Despite the high cost of living, it remains very popular.

    Don't forget to mark threads SOLVED when you get an answer and rep all the geniouses that helped you today!

+ 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. No Progression Until Blank Cell is Filled
    By Dbeethekidd in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-04-2013, 07:03 AM
  2. [SOLVED] help on a simple if text says this input that, if cell is blank leave it blank
    By Rec1ne in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2013, 10:43 AM
  3. [SOLVED] Simple pull exact text from cell, if blank it pulls up a 0. How to leave it as blank?
    By sharpmel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2012, 02:20 PM
  4. [SOLVED] If statement that copies text from a separate worksheet, or if blank, leaves cell blank.
    By barleycorn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2012, 12:30 PM
  5. [SOLVED] Multiple formatting in text cell blank it out!
    By Tom in forum Excel General
    Replies: 0
    Last Post: 08-01-2006, 05:40 AM

Tags for this Thread

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