+ Reply to Thread
Results 1 to 3 of 3

Copy and Paste Loop with nested If

  1. #1
    Forum Contributor
    Join Date
    04-22-2014
    Location
    Turrialba, Costa Rica
    MS-Off Ver
    Excel 2010
    Posts
    108

    Copy and Paste Loop with nested If

    Hello.
    Every day I receive a Workbook as shows attach file loopbio2

    Details. I am tryng to write a code to copy and paste loop based on the value in a cell.
    Then and If IsEmpty is tested at least 4 times.

    I include the first lines of code I have been testing
    I want the next set of data to go into the row below the previous set of collected data.

    I include the code I have been tested but, I am lost with the If statements.
    I also include file sheet4 showing what I need.

    I really appreciate in advance to anyone who offers help on this issue.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Copy and Paste Loop with nested If

    Hi gipsy,

    Here is the code I think you are looking for:

    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    04-22-2014
    Location
    Turrialba, Costa Rica
    MS-Off Ver
    Excel 2010
    Posts
    108

    Re: Copy and Paste Loop with nested If

    Marvin.
    The code works. I am really happy.
    Thank you very much indeed.

+ 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. Problem with vba copy find nested loop
    By Anna_P in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-20-2014, 09:08 AM
  2. [SOLVED] Copy Paste Loop ends before copy/paste is finished
    By brgr4u in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-08-2013, 04:01 PM
  3. [SOLVED] Problems with nested loop to copy a range
    By Edejager in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-04-2013, 10:40 AM
  4. [SOLVED] Copy dynamically changing column and Paste using VBA Loop (Loop within Loop)
    By nixon72 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-12-2013, 12:46 PM
  5. loop with a nested if statement to copy
    By Blizzak in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-25-2011, 04:23 PM
  6. [SOLVED] Nested Loop to copy sheets
    By bestie via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-02-2006, 11:20 AM
  7. [SOLVED] Nested Loop to copy sheets
    By bestie via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-02-2006, 11:15 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