Hi
I have 2 worksheets
InputData
Products
Table1 exists in "Products" sheet.
On InputData
I have a table that the user inputs data into, it does a check to ensure that no lines of data exist.
I also have a named range "data_chk" in cell A2 that contains TRUE or FALSE as per the logic below.
So what I am wanting to do is
The User enters data into a table
That data is first checked to see if any of the products they are trying to enter exists
At the end of each row there is a simple data validation to this end and this determines if data_chk is TRUE or FALSE
When I run the macro...
If data_chk equals TRUE,
A message box should appear and say
We cannot upload your data as you are entering a product that already exists.
If data_chk equals FALSE
I want to copy the data (let's just say there are two rows of data and they are in in cells B9:H10, in fact I will be using the following as it could be 2 or could be 10 rows
Range("B9:H9").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
So then with this data, I want to append it to the end of Table1 on the "Products Sheet".
I have 2 worksheets
InputData
Products
Table1 exists in "Products" sheet.
On InputData
I have a table that the user inputs data into, it does a check to ensure that no lines of data exist.
I also have a named range "data_chk" in cell A2 that contains TRUE or FALSE as per the logic below.
So what I am wanting to do is
The User enters data into a table
That data is first checked to see if any of the products they are trying to enter exists
At the end of each row there is a simple data validation to this end and this determines if data_chk is TRUE or FALSE
When I run the macro...
If data_chk equals TRUE,
A message box should appear and say
We cannot upload your data as you are entering a product that already exists.
If data_chk equals FALSE
I want to copy the data (let's just say there are two rows of data and they are in in cells B9:H10, in fact I will be using the following as it could be 2 or could be 10 rows
Range("B9:H9").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
So then with this data, I want to append it to the end of Table1 on the "Products Sheet".