Greetings,
I would like to make a function within a class Private, yet retain ability to call the function via "Me.FuncName" within the class.
At first I thought to change Public to Private for this particular Function in the Class. Other Functions in the class could not call it via "Me.FuncName"
I dropped the Private declariaton and now other functions in the class may call "Me.FuncName", however elsewhere in the program that use instances of this class, I see the Private FuncName showing up, via the VBA AutoComplete assistance.
1) So, is there no need to declare Class Funcs as Public since they show up without?
2) And how to make a Func Private, callable by the class itself only?
I would like to make a function within a class Private, yet retain ability to call the function via "Me.FuncName" within the class.
At first I thought to change Public to Private for this particular Function in the Class. Other Functions in the class could not call it via "Me.FuncName"
I dropped the Private declariaton and now other functions in the class may call "Me.FuncName", however elsewhere in the program that use instances of this class, I see the Private FuncName showing up, via the VBA AutoComplete assistance.
1) So, is there no need to declare Class Funcs as Public since they show up without?
2) And how to make a Func Private, callable by the class itself only?