Hi,
I have written a code of following format -
As you see, I have 2 subs Sub1 and Sub2. Sub1 has a 'for' loop inside which Sub2 is called. Sub2 is itself a recursive Sub which keeps on looping till p becomes Nothing. I observed that even before Sub2 finishes its first pass, the index i in Sub1 advances and starts advances to second pass. Can somebody advise me on how to remove this problem?![]()
Please Login or Register to view this content.
Thanks a lot,
excelworker_1
Bookmarks