I have posted this question on Stackoverflow as well, it's been a week and unfortunately no solutions yet...
https://stackoverflow.com/questions/...03012_62540181
I have code in VBA that uses an Advanced filter to fill multiple tables. It worked without any errors before. I upgraded from Office 2013 to Office 365 and suddenly I get error messages on the code...
The Advanced filter runs, fills, and filters the tables correctly but I still get an error message that pops up "Excel ran out of resources while attempting to calculate one or more formulas. As a result, these formulas cannot be evaluated". If I press okay another error shows "Run-time Error 1004: Advanced Filter method of range class failed". this is strange since it still does the filtering and filling correctly... The file contains no formulas, 30500 rows, 37 columns.
I've searched for solutions online and tried a couple but none have worked so far. I've tried the following:
- Closing down all Excel applications and run macro again
- closing down all application and only running Excel
- Reduce the core processors for Excel from 4 to 2
- Turn off the Multi-threaded calculation in Advanced options
- Remove all .COM add-ins
- Reduce the file to only use 100 rows and not the full file, tried 50 as well
- Tried manually using the advanced filter, which doesn't work anymore, I get the same error messages
I use advanced filter about 20 times in the code, so it's a bit of a problem. One section of the code looks like this (all 20 sections for the advanced filter are structured the same):
The bottom part is where the error pop's up, on this line for the advanced filter.![]()
Please Login or Register to view this content.
Does anyone know why this is suddenly happening and how I can fix the problem, please?![]()
Please Login or Register to view this content.
Bookmarks