hello
i need help fixing this code i try copy data from sheet to another based on criteria
the error in this lineHTML Code:thanksHTML Code:
hello
i need help fixing this code i try copy data from sheet to another based on criteria
the error in this lineHTML Code:thanksHTML Code:
Other than changing:
AndrngC.Offset(, -6) '! 6 to 5
your code works...Not sure why you are looking for last column in loop if you are only copying A to FPlease Login or Register to view this content.
Please Login or Register to view this content.
Another option...
Please Login or Register to view this content.
Last edited by sintek; 09-07-2020 at 05:40 AM.
Good Luck
I don't presume to know what I am doing, however, just like you, I too started somewhere...
One-day, One-problem at a time!!!
If you feel I have helped, please click on the star to left of post [Add Reputation]
Also....add a comment if you like!!!!
And remember...Mark Thread as Solved.
Excel Forum Rocks!!!
If you are in column F, you can't offset(,-6) columns, that will take you off the sheet.
Try it, select F1 and then move to the left 6 times.
Also...that code does not produce that error?
thanks daves for your notice
thanks sintek you give me verity codes are great and for correcting my code works so well but i have two thing if is possible whether my code or your i don't copy repeatedly data just if i have a new data then copy to bottom old data and how i can delete the copied data from source sheet"data"
Please Login or Register to view this content.
If you really want to loop then....
Please Login or Register to view this content.
Last edited by sintek; 09-07-2020 at 06:16 AM.
well done ! sintek thanks for your time
All good...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks