+ Reply to Thread
Results 1 to 5 of 5

If Cell is NOT empty then Copy entire row to next spreadsheet

  1. #1
    Registered User
    Join Date
    03-24-2016
    Location
    Canada
    MS-Off Ver
    Mac
    Posts
    63

    Question If Cell is NOT empty then Copy entire row to next spreadsheet

    Hello,

    After googling my question, I have found some answers, but I'm not really understanding how to use the macro or visual basic editor so, I need a little bit more in depth help.

    What I am doing:

    I have a sheet called "Price List" where there are 1000+ rows and columns go all the way to AC.

    If A2 is blank (A1 has my header) then I want to to skip to the next row, if that row is blank then i want it to skip to the next etc, until it finds a row that has some data in it. When the row with data is found then I want it to copy that entire row into the spread sheet called, "Upload List" starting at A2 (because A1 is my header). I want it to check all the rows and copy them all over, while leaving the original spreadsheet in tact and unchanged.

    So, if this requires a macro could you please tell me specifically how to copy and paste it over?

    Thank you! (I'm on a mac if that changes anything)

  2. #2
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: If Cell is NOT empty then Copy entire row to next spreadsheet

    Try this.
    To run in attached workbook {ctrl} + t
    (I am not on a Mac, so hope it's the same!)


    Please Login or Register  to view this content.
    Attached Files Attached Files
    If a response has helped then please consider rating it by clicking on *Add Reputation below the post
    When your issue has been resolved don't forget to mark the thread SOLVED (click Thread Tools at top of thread)

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: If Cell is NOT empty then Copy entire row to next spreadsheet

    Another:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    03-24-2016
    Location
    Canada
    MS-Off Ver
    Mac
    Posts
    63

    Re: If Cell is NOT empty then Copy entire row to next spreadsheet

    Quote Originally Posted by Kevin# View Post
    Try this.
    To run in attached workbook {ctrl} + t
    (I am not on a Mac, so hope it's the same!)


    Please Login or Register  to view this content.

    Thank you so much this worked perfectly.

  5. #5
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: If Cell is NOT empty then Copy entire row to next spreadsheet

    You are welcome. Thanks for the reps.

+ 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] Copy entire row, not pasting to next empty row
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-22-2015, 10:41 AM
  2. [SOLVED] If Column E is Y then copy entire line to a different tab in the spreadsheet
    By jock1967 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-04-2015, 12:55 PM
  3. [SOLVED] Copy entire row to new spreadsheet based on specific cell value
    By flipyducky21 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-06-2013, 12:20 PM
  4. [SOLVED] If cell is not empty, copy entire row to new worksheet
    By mattman123 in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 07-30-2013, 03:33 PM
  5. [SOLVED] If one cell in line turn empty then entire line turns empty
    By Cristy0505 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 07-19-2013, 06:02 AM
  6. Replies: 1
    Last Post: 06-14-2013, 04:07 AM
  7. Copy Entire Row & Paste in First Empty Row On The Same Sheet
    By Emonk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2011, 11:41 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