Need to stop UDFs recalculating when unrelated cells deleted
问题 I've noticed that my UDFs recalculate whenever I delete cells. This causes massive delays when deleting entire columns, because the UDF gets called for each and every cell it is used in. So if you're using 1000 UDFS, then deleting a column or cell will call it 1000 times. By way of example, put the following UDF in a module, then call it from the worksheet a bunch of times with =HelloWorld() Function HelloWorld() HelloWorld = "HelloWorld" Debug.Print Now() End Function Then delete a row. If