Is it possible to compare data in a range of cells to a concatenated variable in vba, if it is found then delete the entire row, otherwise do nothing.
For example,
range is A:A, value to be located is B27_3/17/2010
variables are test1 and test2
test1 = B27 test2 = 3/17/2010
the concatenated would look like this: test1 & "_" & test2 or 'B27_3/17/2010'
I need to look in column A for the concatenated variables, if it is found then the row containing that value must be deleted.
Not sure how to search for the value in the range.
The values are in a table and column A is the first column of the table and this can be a named range, if this makes it easier.
For example,
range is A:A, value to be located is B27_3/17/2010
variables are test1 and test2
test1 = B27 test2 = 3/17/2010
the concatenated would look like this: test1 & "_" & test2 or 'B27_3/17/2010'
I need to look in column A for the concatenated variables, if it is found then the row containing that value must be deleted.
Not sure how to search for the value in the range.
The values are in a table and column A is the first column of the table and this can be a named range, if this makes it easier.