The OP seems to be asking about how to make the actual call... of which obtaining the underlying values (as shown by @ChadiEM) is be one part.
I found a post on the subject which says the values ... correspond to internally stored numbers
and An enumeration in VBA is always of data type Long
.
So, with this info and values , it's simply a matter of passing a Variant
with the value as a long
. For example:
o.invoke("Action",new Variant(34L));
I'm sure there's a way to get actual "Enumeration" data structures, but this was good enough for me.