Results 1 to 10 of 10

For each non-empty cell.

Threaded View

  1. #2
    Forum Contributor
    Join Date
    03-04-2008
    Location
    Ohio
    MS-Off Ver
    Office 2010
    Posts
    208

    Question Copy Paste Loop between sheets

    Hi All,

    I realized that I did a poor job describing my problem so I'm adding the sample file to illustrate what I'm trying to do.

    I want to take the data from Stage 1 on Sheet1, Range D5:D9, copy it to the target location on Sheet2, Range C5:C9, perform the calculations, and copy the results, Range E5:E9 back to Stage 1 on Sheet1 in the Output section, Range D15:D19.

    Then I want to go to Stage 2 and repeat this process. At the first empty cell, K5, I want the macro to recognize that the cell is empty and quit the loop.

    This is a very simplistic example of a MUCH larger set of calculations.

    I haven't written many loops, and the few that I have used have come from some very generous individuals on this forum. I'm really struggling to get better at writing loops so any help would be GREATLY appreciated. Thanks much.

    Best regards,

    -gshock
    Attached Files Attached Files

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