Pergunta de entrevista da empresa Velixo

Develop an Excel add-in (a custom function) that should accepts a single numeric value N and returns a row of calculated factorials: [0!, 1!, 2!, 3!, ..., N!]