O método não pode ter os parâmetros ParamArray e Optional ao mesmo tempoMethod cannot have both a ParamArray and Optional parameters
Um ParamArray
argumento é opcional automaticamente e deve ser o único argumento opcional na declaração do procedimento.A ParamArray
argument is automatically optional, and it must be the only optional argument in the procedure declaration. Todos os argumentos anteriores devem ser necessários.All preceding arguments must be required.
ID do erro: BC30046Error ID: BC30046
Para corrigir este erroTo correct this error
- Remova os argumentos opcionais na declaração.Remove the optional arguments in the declaration.