+ Reply to Thread
Results 1 to 4 of 4

Copying Columns and rows from one sheet to another EXCEPT color filled and empty

  1. #1
    Registered User
    Join Date
    07-11-2017
    Location
    Atl Ga
    MS-Off Ver
    2010
    Posts
    8

    Copying Columns and rows from one sheet to another EXCEPT color filled and empty

    SOLVED:

    I had posted this somewhere else but it is really a VBA question. I am trying to write a module that would take all the data from one sheet and populate another sheet, except anything that is color filled or empty. Attached is my Example

    I need the data only from FY 18 Detail (not investigators names, totals, deviding black lines etc) to populate FY 18 Detail Combined. I have included a tab (FY 18 Combined EXAMPLE) to show what it should look like. I would need it not to duplicate every time she hits the macro run button.

    Thanks
    Attached Files Attached Files
    Last edited by Tgun; 07-12-2017 at 08:16 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Copying Columns and rows from one sheet to another EXCEPT color filled and empty

    Hello Tgun,

    This macro below has been added to the attached workbook. This will selecte only the rows that are not empty and not colored and copy the row to the "Combined Example" sheet. If you change a worksheet's name, you will need to change the name in the macro.

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    07-11-2017
    Location
    Atl Ga
    MS-Off Ver
    2010
    Posts
    8

    Re: Copying Columns and rows from one sheet to another EXCEPT color filled and empty

    Leith:

    Thank you so much, that worked perfect. Although this is my first time posting a request I always learn so much here (usually can find what I need in an old post)

    Thanks again.
    Bill

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Copying Columns and rows from one sheet to another EXCEPT color filled and empty

    Hello Bill,

    You're welcome. I hope you learned something new that you can use later on.

+ 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. View ROWS with filled color
    By gveludo in forum Excel General
    Replies: 4
    Last Post: 07-03-2017, 10:11 AM
  2. Copying and pasting a table of data with individually color filled cells
    By Paragoomba in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-18-2013, 11:49 AM
  3. printing just rows that have been filled in with color
    By CityInspector in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-28-2012, 09:43 AM
  4. [SOLVED] How to select all records in a empty column between to filled columns
    By boerbende in forum Excel General
    Replies: 3
    Last Post: 11-20-2011, 07:37 AM
  5. count filled and empty rows till the last filled row
    By Dalal in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-29-2011, 04:32 AM
  6. Copying rows from sheet where cells in specific columns are empty
    By wishmaker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2010, 10:11 AM
  7. sorting color filled rows
    By quickbrwnfox in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-19-2007, 03:27 AM

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