A
Alex
I wrote some code in VBA. It was 1190 lines in length.
Specifically I was using the <Select Case> code and I had
a total of 91 Cases, hence code was long and repetitive.
I tried to run the macro but got message <Procedure Too
Large>. From help it says code cannot exceed 64K and that
mine did.
2 questions...
1) Where do I go to see the 'K' of my code. If i am only
a small way over 64K then maybe I can trim some
superfluous code
2) Is there a limit on <cases> using <Select Case>? Like
how you can only nest 7 IF statements.
Any advice appreciated. Highly annoying to complete my
code and then see it exceeds limits. At least I learnt
something!
Thanks
Alex
Specifically I was using the <Select Case> code and I had
a total of 91 Cases, hence code was long and repetitive.
I tried to run the macro but got message <Procedure Too
Large>. From help it says code cannot exceed 64K and that
mine did.
2 questions...
1) Where do I go to see the 'K' of my code. If i am only
a small way over 64K then maybe I can trim some
superfluous code
2) Is there a limit on <cases> using <Select Case>? Like
how you can only nest 7 IF statements.
Any advice appreciated. Highly annoying to complete my
code and then see it exceeds limits. At least I learnt
something!
Thanks
Alex