Macro ExpandTreeItem

Description
Expands selected tree and all sub trees in the tree view.

if selected tree is already expanded this tree and all sub trees are collapsed

if there is no selection all trees are collapse True/False

Use
Copy the macro in your macro directory, create your tool bar and launch.

Script
The icon for the tool bar the .png and the .SVG

Link
Objektbaum mit einem Klick komplett aufklappen?