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
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times