victorialj
Technical User
Hi there,
I am currently attempting to decipher a rather large macro that was written some time ago, which also has hardly any annotation and no documentation.
I think I have located one of the problems with it (well maybe?! as i think there are several.)
Basically the macro loops through a directory looking in worksheets determined by a date prompt the user enters. It then loops through each worksheet,column, row etc looking for non blank rows to copy.
It appears to me that when there are too many distinct ranges for it to copy to the summary sheet, that it just doesn't concatenate the final ranges to the overall range.
The range is called sRange, but I cannot see it defined at anywhere in the project. I am assuming it is being created on the fly - so what is the default size.
Does this sound like it could be the problem or am i barking up the wrong tree?!
Any help would be great!
Thanks
Victoria
I am currently attempting to decipher a rather large macro that was written some time ago, which also has hardly any annotation and no documentation.
I think I have located one of the problems with it (well maybe?! as i think there are several.)
Basically the macro loops through a directory looking in worksheets determined by a date prompt the user enters. It then loops through each worksheet,column, row etc looking for non blank rows to copy.
It appears to me that when there are too many distinct ranges for it to copy to the summary sheet, that it just doesn't concatenate the final ranges to the overall range.
The range is called sRange, but I cannot see it defined at anywhere in the project. I am assuming it is being created on the fly - so what is the default size.
Does this sound like it could be the problem or am i barking up the wrong tree?!
Any help would be great!
Thanks
Victoria