I want to powerclip 1000 images through macro

I have 1000 images placed on top of each other in a .cdr file. There is a grid 32x32 of 1024 cells in the same document file. I want to poweclip these images in that grid using a macro. When I run the macro I get runtime error even on first image. Please help how to resolve runtime 91 error on powerclip?