Copy range of cells defined in one sheet to other worksheets in a loop

  • I had to go back here again on this problem.
    I wrote something that worked but when tested I was posting the same data to multiple sheets. Ugh.


    I have a sheet with a table of ranges that is dependent on information on that sheet. It defines the areas that I need copied in other sheets.
    On the other sheets, starting with sheet3, I will copy a selection based upon the table on sheet1. Then copy that information to a location on sheet3 based upon a table on sheet1.
    Then I look through sheet3 to the end, doing the same.


    If necessary I will post the entire worksheet, but its kind of sloppy.
    Here is my code - stops right after the loop begins. I tried to define the selection to copy from sheet3 based on information from sheet1... I tried to nest it. Unsuccessful.



    Thank you!

  • Re: Copy range of cells defined in one sheet to other worksheets in a loop


    I re-read and noticed that my reference to r should now be x in two lines. Still won't work though. "unqualified reference"
    Ken

  • Re: Copy range of cells defined in one sheet to other worksheets in a loop


    I made some changes in the code. No better results. Dead stuck.


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!