Fill each pixel color to a set of same quantity shapes

Hi, all. This is my stage:

I have a jpg image ten pixel wide and ten same size (pixel) boxes.

I would like to get each pixel color and aply it to each box on a sequence.

I tried to do it recording a macro but when I changed the image I got the colors of the previus image.

I feel this wouldn't be to much dificult but I havent enogh knowleg to do it.

Any help please.

Thanks in advance.