0

How can I get the name of the default member of an VBA-Object, that is used with then Bang-Operator (!)?

MS Docs, don't tell me.

1 Answer 1

4

Found it here:

https://rubberduckvba.wordpress.com/2018/03/15/vba-trap-default-members/

Solution:

  • Go to the Editor (ALT+F11)
  • Go to Object Explorer (F2)
  • Find the Object in the List
  • The default member has a blue circle in front

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.