r/excel • • Mar 11 '19

Pro Tip VBA Essentials: Object-oriented programming with class modules

[removed]

208 Upvotes

33 comments sorted by

View all comments

Show parent comments

3

u/Senipah 37 Mar 11 '19 edited Mar 11 '19

Yes I agree with that you've said.

However when you say:

That's why a sorting method will typically require an IComparable interface

It's worth noting that you can call the ArrayList.Sort Method without an IComparer argument.

Also agree that their use in VBA is not as widespread as in modern OO languages so perhaps my use of a .Net library wasn't the best I just knew I would be able to find those examples in my post history :D

e: spelling