I am trying to create a vba code that will allow me to click on a button and delete all rows that have the same matching number and have the remaining rows shift up after the rows are deleted. The reference cell will always be A2, which will be used to check if it matches any other numbers that are also in column A. This is all on Sheet1.
The purpose of all of this is because I have a more formal order form, on a separate sheet, Sheet2, that will be referencing these values from Sheet1 that will then automatically pull up the associated info, such as pricing, etc, for each item in the order. IE, using the picture example below, order number 101 would have 3 items, S, M, and XL.
I would like for only Sheet2 to be saved as a pdf automatically after each group of numbers have been processed. The only thing I am kind of worried about this step is that I am not sure if the file would reliably be able to process all of the information required on Sheet2 before it is saved as a PDF. Maybe a 1 second delay before saving?
Original
After 1st click
After 2nd click
After 3rd click
After 4th click
The purpose of all of this is because I have a more formal order form, on a separate sheet, Sheet2, that will be referencing these values from Sheet1 that will then automatically pull up the associated info, such as pricing, etc, for each item in the order. IE, using the picture example below, order number 101 would have 3 items, S, M, and XL.
I would like for only Sheet2 to be saved as a pdf automatically after each group of numbers have been processed. The only thing I am kind of worried about this step is that I am not sure if the file would reliably be able to process all of the information required on Sheet2 before it is saved as a PDF. Maybe a 1 second delay before saving?
Original
After 1st click
After 2nd click
After 3rd click
After 4th click