I have a range of cells 10 columns wide by 16 rows tall... it is assigned the range name of: "USER_CHANNELS"
The cells in this range are validated against a range called: "VAL_CHAN_NAME"
If the user is typing in data... and they get something wrong... it stops them and forces them to select/type the correct information. (Typical validated cells.)
The problem lies when they use PASTE SPECIAL to drop in a bunch of data... for example...
Good data...
7CALL50
7CALL50D
7TAC 51
7TAC 51D
7TAC 52
Erroneous Data
7CALL50
7CALL50D
MONGO <--- This is NOT in the validation list.
7TAC 51D
7TAC 52
Since they did a PASTE SPECIAL... the spreadsheet is happy to accept the data... until I run my other routines... then obviously my VLOOKUP can't find matching data and crashes.
What I need, is a way to compare "USER_CHANNELS" against "VAL_CHAN_NAME" and highlight any that are wrong.
(Make them BOLD, color them red... whatever... alternately... it could change the data to "ERROR" and I could have conditional formatting do the rest.)
Is there a way to go through the range "USER_CHANNELS" and mark/change anything not found in "VAL_CHAN_NAME"?
Some function... or a routine that I can assign a button "VALIDATE" to??
Suggestions? Thoughts?
Thanks,
Jerry
The cells in this range are validated against a range called: "VAL_CHAN_NAME"
If the user is typing in data... and they get something wrong... it stops them and forces them to select/type the correct information. (Typical validated cells.)
The problem lies when they use PASTE SPECIAL to drop in a bunch of data... for example...
Good data...
7CALL50
7CALL50D
7TAC 51
7TAC 51D
7TAC 52
Erroneous Data
7CALL50
7CALL50D
MONGO <--- This is NOT in the validation list.
7TAC 51D
7TAC 52
Since they did a PASTE SPECIAL... the spreadsheet is happy to accept the data... until I run my other routines... then obviously my VLOOKUP can't find matching data and crashes.
What I need, is a way to compare "USER_CHANNELS" against "VAL_CHAN_NAME" and highlight any that are wrong.
(Make them BOLD, color them red... whatever... alternately... it could change the data to "ERROR" and I could have conditional formatting do the rest.)
Is there a way to go through the range "USER_CHANNELS" and mark/change anything not found in "VAL_CHAN_NAME"?
Some function... or a routine that I can assign a button "VALIDATE" to??
Suggestions? Thoughts?
Thanks,
Jerry