FindElement method

Returns an Element object whose name matches the one specified. If an element is not found, FindElement returns Nothing.
Syntax
Set
oElement
=
Display
.
FindElement
(
Name
)
where
oElement
– is the name of an Element object variable.
Display
– is the name of a Display object or an expression that evaluates to a Display object.
Name
– is a string variable that contains the name of the element object to be found.
Remarks
  • All groups are searched.
  • Wallpaper is not searched.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal