Showing results for 
Search instead for 
Did you mean: 

Using recursion in VB- Macro

Occasional Contributor

Using recursion in VB- Macro

Hi  everybody,


I want to use a macro to display all child nodes from a current node.

The current node is a Mega object of a MegaClass.

That is why I use a funkcion, which goes recursive through the tree.

If I use a globale variable to save child nodes, it will display ALL nodes from the whole tree.


It would be nice, if somebody could help me.






1 Reply
Regular Contributor

Re: Using recursion in VB- Macro

Hi Abayl,


I don't completely understand what you try to achieve or where do you need help with. Can you be a bit more specific, maybe with an example of the nodes you are talking about?