+ Reply to Thread
Results 1 to 3 of 3

Need Code to look for blank rows and copy one cell to another

  1. #1
    Registered User
    Join Date
    07-15-2013
    Location
    leola, pa
    MS-Off Ver
    Excel 2013
    Posts
    3

    Need Code to look for blank rows and copy one cell to another

    Hello,
    I am looking to write a code that will look at a range (which can vary from A16:F2000) and
    1)will find all blank rows,
    2)increase the size of the row height in the blank rows to 30,
    3)change the fill of the row to a color
    4)copy the cell value from column F of the row below the blank into column C of the blank row.
    5)Increase the font to 20pt, bold and center the word in the cell

    so for all the blank rows take the value of the cell in the row below, column F and move it into the row above, column C. And format the row.

    I am slowly chipping away at a bigger code and have been stuck on how to start this part. Any help would be great!

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Need Code to look for blank rows and copy one cell to another

    Try this:

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: Need Code to look for blank rows and copy one cell to another

    Cross-posted here

    If you must X-Post...Why you should post a link
    The Forum Rules
    If my solution worked (or not) please let me know. If your question is answered then please remember to mark it solved

    Computers are like air conditioners. They work fine until you start opening windows. ~Author Unknown

+ 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. How to create a macro to insert blank rows and copy data into blank rows?
    By zodiack101 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-29-2013, 01:18 PM
  2. [SOLVED] VBA code to copy cell values to the next blank row in another sheet (all the same row)
    By rarias in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2013, 03:08 AM
  3. Replies: 1
    Last Post: 04-15-2013, 08:06 AM
  4. [SOLVED] Copy or Move rows starting with a particular cell value until next blank row
    By sborda in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-05-2012, 07:53 AM
  5. [SOLVED] VBA code to insert 1 or 2 rows, 2 if next cell not blank,1 if next cell blank but 2nd not
    By lee.pulford in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-11-2012, 04:06 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