The attached file is a crude solution to take data from one worksheet and paste it into another worksheet that I wrote for another excel forum user. To the intended recipient of the attached file, please continue our discussion here.
If anyone else cares to take a look or offer any feedback of how something may be done more efficiently, I welcome your feedback as well. For example, one potential improvement I would like to make is to not re-write over existing data. Instead of using a clever/effective use of the .End(xldown) method, I deleted data and passed a counter: debugCT into a subroutine that is called in a do-while loop. I commented out some lines of code in the following subroutine which approached that solution.
So I am writing data to cells: Range(Cells(8,4),Cells(8,9) during the first time the above subroutine is called and I wish to write to row 9, 10, etc. through subsequent passes. I also wish to design the code so that if there is existing data in rows 8 through N, an arbitrary row number, I begin writing data to row N + 1. Again, any feedback is welcome.![]()
Please Login or Register to view this content.
Bookmarks