Hi, I want to copy data that will be on three columns that may vary depending on the situation, can be between 1 and 13 rows of inputted data. Plus the name of a person taken from a list. There will be two macros, two buttons:
save/modify sale button will copy the data from sheet sales to db, while looking that if the sales Nr. is the same, it will not add a new row, but modify the rest of the column and save a pdf.
copy from range excluding blank cell.xls
new sale will erase the sales data (months, and number of apple boxes), plus take the value of the last contract number and place it on I2
B2 is the name, will always only be one cell.
A6 through A 19 can be the months
B6 through B19 can be the number of apple boxes
C6 through C19 will be the sales number: Sales number will always be a new number with a simple if macro to make it blank (=IF(A6="","",I2+1))
I can make it to copy one line only, but I don't know how to copy the range, and to make the PDF name with the last contract number of the sale.
Bookmarks