r/excel • • Jan 12 '19

Pro Tip VBA Essentials: User-defined functions

[removed]

200 Upvotes

25 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Jan 20 '19

[removed] — view removed comment

1

u/sancarn 8 Jan 20 '19

You can only use friend in class modules

Right yes, didn't realise this myself. And I actually didn't realise it was "in the VBProject where the class is defined" either. I thought it meant a class could only call methods on other classes of it's own type, but I guess that doesn't exist even.