Mollethewizard
IS-IT--Management
Hello all gurus out there!
Can anyone tell me what is the most efficient regarding speed and size – one module with all subs in it or many modules with one or a few subs? Somewhere along the line I’ve heard that speed increases when VBA doesn’t need to resolve dots.
All the subs that I use frequently I’ve saved in a module called HM. Every time I need to make a CALL VBA has to resolve the dot (Call HM.Persnr e.g.) is this very speed limiting?
And finally document-size. Is the document going to be smaller when you have fewer modules in your VBA-project?
Christer
Can anyone tell me what is the most efficient regarding speed and size – one module with all subs in it or many modules with one or a few subs? Somewhere along the line I’ve heard that speed increases when VBA doesn’t need to resolve dots.
All the subs that I use frequently I’ve saved in a module called HM. Every time I need to make a CALL VBA has to resolve the dot (Call HM.Persnr e.g.) is this very speed limiting?
And finally document-size. Is the document going to be smaller when you have fewer modules in your VBA-project?
Christer