How to check if an element is displayed in a view in VBA?

Is it possible to check wether an element is displayed within a view in VBA?

I have to find all elements which are currently shown in view 1 and add them to a named group.

The thing is that I cannot simply check the level of the element and check if this level is displayed or not because a displayset or a view clip volume may be active.

Parents Reply Children