Faced a problem, wrote a method, but how now to call it?
Let me explain there is a method, it performs for example the following code:
Sub start() MsgBox("123") End Sub
It seems to me somehow it is necessary to call this method, but how? please tell me ))
if you run it like this, it gives an error:
Invoke code : Error compiling code error BC30289: Statement cannot appear within a method body. End of method assumed. At line 3 error BC30429: 'End Sub' must be preceded by a matching 'Sub'. At line 9