![]() |
Copy-Pasting row into exact same row on specific other worksheets
Good morning
I have just finished writing a vba code that inserts a row into a worksheet and then fills in values based on user input. Now, what I need to occur is once this process is done, for the row to be copied, and to insert the copied row into the exact row number on three specific other worksheets. For example, if the code has created the new row on Sheet1.Row87, for row 87 to be copied and then inserted into row 87 on Sheet2,Sheet3,Sheet4. It can't just be copied onto row 87 on the others as there may be data in it - it must use the "insert copied cells" function. Hope this makes sense, and that someone will be able to help me with it. Kind regards, Paul |
Copy-Pasting row into exact same row on specific other worksheets
Hi,
In principle that can be done but we would need to see (at least) that part of your code that puts the new row on sheet 1 so we know how you are udentifying the row to ensure we get the same row on other sheets. -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "PVANS" wrote: Good morning I have just finished writing a vba code that inserts a row into a worksheet and then fills in values based on user input. Now, what I need to occur is once this process is done, for the row to be copied, and to insert the copied row into the exact row number on three specific other worksheets. For example, if the code has created the new row on Sheet1.Row87, for row 87 to be copied and then inserted into row 87 on Sheet2,Sheet3,Sheet4. It can't just be copied onto row 87 on the others as there may be data in it - it must use the "insert copied cells" function. Hope this makes sense, and that someone will be able to help me with it. Kind regards, Paul |
All times are GMT +1. The time now is 11:11 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com