Are you sure that your codes to save are part of this list?
"2A", "7G", "D1", "D2", "D6", _
"F3", "H1", "H5", "M4", "M6", "G5"
Any extra spaces in those codes?
If there are, then you could use this:
Select Case UCase(trim(myCell.Value))
instead of:
Select Case UCase(myCell.Value)
DKY wrote:
I selected the cells that have the codes not the column (I didnt want to
delete the row with the header) I hope that's not a problem. But the
cells I'm selecting are all in the same column.
--
DKY
------------------------------------------------------------------------
DKY's Profile: http://www.excelforum.com/member.php...o&userid=14515
View this thread: http://www.excelforum.com/showthread...hreadid=399226
--
Dave Peterson