It is a trivial problem but I am so newie, sorry.. The Idea is that recursively with a for check the value of a columm if the value is "I" then I should cut some consecutive cells from that row and paste them in the same row but with some cells displacement... it is pretty much a selective copy...