I think you are better to teach people skills like when to recognise that they are about to do something potentially harmful, like deleting pages or ranges which can result in the #REF! errors and to backup before they do these things
Mind you I learned the hard way, as in the 80's even printing would often cause Word Perfect to simply crash, so you just learned to always save before doing things like that.
Then let this run for a table of options. Changes to the workbook were really slow after using this.
I hope to sometime over the Christmas break show how I translated this formula into a Power Query Formula on my blog - dbexcelaccounting.blogspot.com
Refactoring this user-defined formula to a formula that calculates in power query saved me tons of time because of how it calculated in a volatile manner.
Other functions that are hell to slow your workbooks are array formulas that are entered with ctrl+shift+enter, but these can be really powerful and for any pre-excel 2007 user still around, these are the only alternative for implementing some more advanced functions that now can be done much easier with structured references.
Occasionally, I need to use array formulas with structured references which provides some truly awesome calculation capabilities
@tobediff
Hi!
Convoluted is a very diplomatic way to say inefficiently, redundantly, cumbersome and somehow DOC (deliberately obfuscated code)
Regards!
I only use the record function when I want to see what some action might be called, and even then the recorded may record something different from what you think you are recording.
When I used to record, I would always go back and delete out the parts that looked recorded and replaced with logical steps and relative or hard-coded cell range values.
For example, selecting and activating cells is rarely efficient and operating on selected cells will leave you open to user actions screwing up your code by selecting a cell mid-operation.
@DBExcel
Hi!
If I don't copy a template yet written, or I don't import an existing module, unless it's something really easy I usually use the built-in recorder when having to deal with borders, fonts, backgrounds, shapes..., page setup..., how would I ever remember all those parameters?
Then I cut, shrink, crop, and maybe I only get a couple of lines... from tenths of them
Regards!