+ Reply to Thread
Results 1 to 3 of 3

Macro to copy row if it contains any values

  1. #1
    Forum Contributor
    Join Date
    04-19-2013
    Location
    Yorkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    297

    Macro to copy row if it contains any values

    Hi guys!

    Pretty much what the title says I need a macro to copy rows to another work sheet if they contain values.

    Also, I need it to to copy only the cell values rather than than the formulas.

    Finally, I need the values to be copied onto the first blank row of the work sheet where they will be placed (say Sheet2) as opposed to just in row 1.

    Any ideas?

    Thanks in advance...

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Macro to copy row if it contains any values

    Something like this:
    Please Login or Register  to view this content.
    might do what you want but it relies on there being something in Column A each time you paste it across and it won't count 0 as a value.

  3. #3
    Forum Contributor
    Join Date
    04-19-2013
    Location
    Yorkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    297

    Re: Macro to copy row if it contains any values

    Sorry for the delay in getting back to you.

    Just tested it and it works perfectly, thank you for the help!

    Much appreciated.

    Quote Originally Posted by yudlugar View Post
    Something like this:
    Please Login or Register  to view this content.
    might do what you want but it relies on there being something in Column A each time you paste it across and it won't count 0 as a value.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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