'Sub' or 'Function' expected after 'Delegate'
A Delegate statement does not specify a Sub or Function procedure. The Sub or Function keyword must immediately follow the Delegate keyword.
Error ID: BC30278
To correct this error
Add the Sub or Function keyword immediately after Delegate.
Specify a procedure name, argument list, and return type as appropriate.