VBAProIWish
Well-known Member
- Joined
- Jul 6, 2009
- Messages
- 1,027
- Office Version
- 365
- Platform
- Windows
Hello all,
I have a large program that spans 20 modules. If I run all 20 modules using a call command without a breakpoint, the code results in providing incorrect data. but if I put in just 1 breakpoint at around module 18 and then resume the code to finish through module 20, the code produces the correct result.
Anyone have any idea how or why this happens and how I can prevent it?
I don't want to have to create a breakpoint just so the code produces the correct result.
Thanks
I have a large program that spans 20 modules. If I run all 20 modules using a call command without a breakpoint, the code results in providing incorrect data. but if I put in just 1 breakpoint at around module 18 and then resume the code to finish through module 20, the code produces the correct result.
Anyone have any idea how or why this happens and how I can prevent it?
I don't want to have to create a breakpoint just so the code produces the correct result.
Thanks