Avatar of Sachin Singh
Sachin Singh
 asked on

Conditionally copy paste the data between sheets

Conditionally copy paste the data between sheets
plz see the sample file
sample.xlsb
Microsoft OfficeVBAMicrosoft ExcelMicrosoft Applications

Avatar of undefined
Last Comment
Sachin Singh

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Subodh Tiwari (Neeraj)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Sachin Singh

ASKER
Thnx Neeraj Sir for ur great support
Subodh Tiwari (Neeraj)

You're welcome Sachin!
Saqib Husain

You really did not need to loop. This one liner could have done the same job.

Sub copymultiple()
Sheet5.Range("A1").CurrentRegion.EntireRow.Copy Sheet4.Range("A1").Resize( _
    (Sheet2.Range("A1").CurrentRegion.Rows.Count - 1 + _
    Sheet3.Range("A1").CurrentRegion.Rows.Count - 1) * _
    Sheet5.Range("A1").CurrentRegion.Rows.Count)

End Sub

Open in new window

This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Sachin Singh

ASKER
Thnx Saqib Sir for the great info and thnx for the support