Hi norman,
Thank for your help.
I tired the code as given. It work fine if my column data is number.
However, if my column data is Text then it will give a mismatch type
error.
The code will detect the last cell data instead of the lastrow number.
Norman, can you help me again ?
For example my last row cell of the column contain the value "england"
LastCell = "england"
Thank alot
--
brucelim80
------------------------------------------------------------------------
brucelim80's Profile:
http://www.excelforum.com/member.php...o&userid=32244
View this thread:
http://www.excelforum.com/showthread...hreadid=521302