Copying rows into the incorrect rows in another worksheet

Roo2021

New Member
Joined
Feb 10, 2021
Messages
8
Office Version
  1. 2010
Platform
  1. Windows
Hi All,

I'm very new to the world of VBA coding & this is my first time of posting.
I have written some code which copies certain information from one worksheet (when a particular condition is met) into another worksheet but the copied rows are pasted further down in the worksheet:

1619618440498.png


I want them to come in at row 3 but they are dropping in at row 4000:

1619618575076.png


1619618635086.png


Any ideas would be greatly received.

Thanks
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
What does this formula return (place it any blank cell on your "Error_Report" sheet)?
=LEN(B3999)

If it returns anything other than 0, then the issue is you have a non-blank entry in cell B3999.
 
Upvote 0
Hi,​
the cells formatting can be also an issue so must use the Range.Find method …​
 
Upvote 0
What does this formula return (place it any blank cell on your "Error_Report" sheet)?
=LEN(B3999)

If it returns anything other than 0, then the issue is you have a non-blank entry in cell B3999.
Hi Joe4, thankyou for your suggestion, I will look into it.
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,701
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top