Collabora Online Developer Edition (CODE) and Excel features

Hello
I will be appreciated if you suggest how to do these in CODE:

  1. protect cells against editing by certain users
  2. create macros

Thank you in advance.

I know it’s maybe not the answer you were looking for, but I think there’s a better place to ask these kind of questions:

LibreOffice Mailing List