Philip,
I would like to ask for another favor,
Philip gave me that solution but it is just for matrix 2xN, how about MxN matrix,I donot know how to do that, would Philip be nice to help me again ???

Thanks a lot