Page 1 of 1

access COM enums in VBScript

Posted: Thu Feb 21, 2013 6:12 pm
by samuelz
COM objects usually come with classes and enums, in VBScript, you can access COM classes using CreateObject() or GetObject(); how can one access enums?
For example, how do you access "XITickMark.xlTickMarkCross" in "Excel.Application" using VBScript? this can be done easily in VB or C#.
thanks.

access COM enums in VBScript

Posted: Thu Feb 21, 2013 6:39 pm
by Alexander Riedel