I have Worksheet Calculate event embedded in a worksheet that fires each time separate arrays change that I am monitoring. I log different statistics based upon if these arrays change or not. There are a lot of lines of code related to the arrays I monitor. Hence the issue of closing in on the >64Kb compile procedure limit. I am looking for advice on how to consolidate some of this code into a separate module or class module that is called on its own to reduce the number of characters to get under 64Kb and achieve the overall task of the Worksheet Calculate event. Below is a portion of the code. I am looking to consolidate the L thru W "strformula" references to Sheet1 & Sheet5 to clean it up and get it under the 64Kb limit.
This code continues on for ~1,000 lines from MyArr to MyArr46 & from KeyCells to KeyCells46
Bookmarks