Rob,
I'll probably get beat up for my reply (but I'll still learn from it).
It's just a matter of saving bytes.
That's a point well taken but it also depends on your file size
and how much you'll save. If you can cut a 1.1 mb file down
to 1.0 mb, it'll surely load faster, but how much faster??
There are a lot of variables to consider there.
I've seen a lot of discussions in the ng that relate to the
speed of functions, procedures, etc.
Example: From a previous post by Harlan.....
x+0 executed in about 1/4 the time that x*1
That's great but how long did it take for x+0 to
execute?? A hundreth of a nanosecond??
How many hundreths of nanoseconds can I save by
rewriting my code??
Of course, if you're going to do a loop and use this a
hundred thousand times, well.............maybe the whole
procedure will run a millisecond faster???
Other than using up space and increasing file size, placing
that code on each of your UserForms (unless you have a
couple of hundred or so), probably isn't going to make that
much of a difference in the speed of your workbook.
As far as the code is concerned, I do not believe that having
a lot of code slows the workbook (unless you call it). Extra code
will inflate the workbook size and will delay it from opening
(and saving) but once it's opened, I don't think it makes a
bit of a difference in the speed of any particular sub that you
might have hundreds of other subs included in the workbook.
Be gentle guys (and gals),
John