Hello all,
Have been trying codes found on this forum for two days, but nothing seems to work yet.
I am using 2003 Excel, and have a workbook with several worksheets. One of them - "Log" - is a list of 5,000 patient samples in our storage. Columns are C through N, and the entire range (C2:N5120) is an active list to enable AutoFilter. Another sheet - "New" - is a small table to simplify entering new data into the log. Headers are identical. A user enters samples one at a time, presses a button, and the macro codes for copy/pasting the values of those 12 cells into the full sample log worksheet.
The task: I need to copy a range of cells - B10:M10 - from Sheets("New") to first empty row in Sheets("Log").
Bonus: if a macro button is accidentally pressed twice, is it possible that identical information simply overwrites itself, instead of creating a duplicate entry?
The most recent code (which I think I found somewhere on this forum) is below. It does almost everything that I want, except that it pastes my line on row 29,999 (which is probably the first empty row below the activated list).
Please and thank you,
- Jane.
Bookmarks