Hello Everyone-
I think a pretty common thing to do with vba is to autofilter some range, and then copy/paste the visible cells to another range. I've got that down, and that is currently what I'm doing. The problem is that my data set can grow to 400k+ rows of data with 40 columns, and using the clipboard to perform this task, while quick enough, takes huge amounts of memory. The code stops running with an "out of memory" error and I dont know of a way to clear the memory in between steps. So, is there a way to do this by bypassing the clipboard all together?
Here is a sample snippet of code that comes close to what I'm trying to do, but only moves over the first block of contiguous rows, and gives me #N/A's for the rest. Is there a way to do this?
As always, thanks in advance for any help!!
P.S. - this would assume that the user has set the autofilter on their own.
Please Login or Register to view this content.
Bookmarks