Hi
I have a problem with a nested loop. I know there is something wrong in it, but cannot figured out what this is. Can you help me with this?
The code have to look if a cell contains something, if so then that cell + 5 have to be copied from sheet 2 into sheet 11.
After that it have to look at the next cell and do the same thing but then past it next to the previous range.
The problem is within the loop because it works when I am using the range like this: Sheet11.Range("R7:AC7,R22:AC22,R37:AC37.....until... R352: AC352").SpecialCells(xlCellTypeBlanks).Cells(1).Select
But I need a range until R865: AC865. But when I am using that excel cannot handle such a long range.
The same is the problem at the second part of the code
The VBA code is following:
Kind regardsPlease Login or Register to view this content.
Bookmarks