cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using recursion in VB- Macro

abayl
Contributor

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.

 

 

regards

 

abayl

1 Reply

SVanSchoonlandt
Honored Contributor

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?

 

regards

 

stijn