Stephen W Allen
New Member
- Joined
- Jul 21, 2021
- Messages
- 20
- Office Version
- 2019
- Platform
- Windows
I have created a small application in VBA, which will, eventually, be made available for general/public use. One of its modules is very large, comprising 3500 lines of code. I have been advised that this too big but have not seen any adverse effects in testing.
The module comprises 9 primary sub routines, and each of these calls its own two secondary sub routines - making 27 subs in all.
In the header there are 4 module level variables declared. These are used to process the activity of the secondary routines. It is one of the reasons for grouping such a large number of sub routines together.
What adverse effects should I look out for? How should I test for potential problems?
Stephen
The module comprises 9 primary sub routines, and each of these calls its own two secondary sub routines - making 27 subs in all.
In the header there are 4 module level variables declared. These are used to process the activity of the secondary routines. It is one of the reasons for grouping such a large number of sub routines together.
What adverse effects should I look out for? How should I test for potential problems?
Stephen