Why do calls to Class Module Private Subs fail when using `Me`? [duplicate]
问题 This question already has answers here : Why can't the VBA Me keyword access private procedures in its own module? (5 answers) Closed 5 years ago . When using a Class Module in VBA, how come a call to a Private Sub will fail when using Me in front of it, but a call to a Public Sub is OK? For example, the code below (not a full Class Module, just a snippit) produces the error Method or data member not found or the line Call Me.SetupQuote . However, if I make SetupQuote() a Public Sub all is