P
PSULionRP
I didn't know the best place to post this so I hope it's ok here.
I am dealing with some real spaghetti VBA code. It goes here...it goes
there...some of it is streamlined...while other pieces of it execute module
by module.
I am new to VBA and was just wondering as I'm going through this code, what
the efficiency standards are as far "best performance". Is it best to have
large modules or small modules that are executed by like a control function
or module???
Like I said, this code I'm looking at seems to do both. From a programmer's
perspective, it is definitely easier to read with small functions and subs
being executed one at a tim out of one main function or sub. And what is the
difference bewteen a "sub" and a "function"??? They both look syntaxtially(Is
that a word???) the same...
I appreciate your review and response.
Thanks.
PSULionRP
I am dealing with some real spaghetti VBA code. It goes here...it goes
there...some of it is streamlined...while other pieces of it execute module
by module.
I am new to VBA and was just wondering as I'm going through this code, what
the efficiency standards are as far "best performance". Is it best to have
large modules or small modules that are executed by like a control function
or module???
Like I said, this code I'm looking at seems to do both. From a programmer's
perspective, it is definitely easier to read with small functions and subs
being executed one at a tim out of one main function or sub. And what is the
difference bewteen a "sub" and a "function"??? They both look syntaxtially(Is
that a word???) the same...
I appreciate your review and response.
Thanks.
PSULionRP