Dimitris254
Board Regular
- Joined
- Apr 25, 2016
- Messages
- 139
Hi all,
i'd like to know if it's possible to nest a private sub in another private sub. I don't want one of the sub to be public or something. The code would looks something like this:
The reason i want the sub_child in sub_parent is so that they can see each other's variables.
i'd like to know if it's possible to nest a private sub in another private sub. I don't want one of the sub to be public or something. The code would looks something like this:
Rich (BB code):
Sub main_sub()Call sub_parent
End Sub
---------------------
Private Sub sub_parent()Call sub_child
Private Sub sub_child()
...
End Sub
End Sub
The reason i want the sub_child in sub_parent is so that they can see each other's variables.