This line:
finds the last column with data, and adds 1 to it, which determines where (which column) to paste data.
The way it works is that it checks from the end, moving left, and stops when it finds data. However, the 6 in that line, refers to row 6, so if the last column with data is blank in row 6, then the code would paste the new data in the wrong column, because it did not find the real last column. If you have a row in that range that ALWAYS has data, then you could change the 6 to that row number, or you could check all rows (less efficient but sometimes necessary. For example, instead of lc =.. you could use
That would check all rows from 4 to 58, and use the last column of the longest row.
Bookmarks