No problems here Wayne.
Yes I do have a life, a hobby, a favorite pursuit or pastime.
And that is to try and get people into the habit of questioning things, in this case that which we are “told” about VBA and programming in general.
In the case of timing code, whatever form it takes, it is not only sufficient to find the fastest method but to also try and be realistic about the benefits of doing so.
For example, we run the risk of speed verses readability. If we really want speed then why not use assembly language? Two answers come to mind, one it is too difficult to write and maintain and two it has too high a lead-time to develop anything of substance.
Therefore, if we want speed write in assembler, if we want to get the job done in a reasonble time use something like VBA.
This I’m sure you will see as an exaggeration but the same sort of thing applies within VBA.
Things like the dreaded do lookups are dog slow, but if it is executed once from the click of a button which opens a report…who cares? If the report takes 50 milliseconds longer to open, again…who cares?
And please may I say in passing.
I wasn’t trying to be disparaging towards anyone that took part in the thread. More so to those people that didn’t take part, sit back, and watch the work that goes into it.
BTW, did you come to some understanding of the bound/unbound visible/invisible thing, because that’s where the real delay is hidden?
Regards,
Chris.