Chromebook LibreOffice App Syntax Error

Opening a .xlsb file, I enable macro’s then try to use any of the macro’s it gives the error:

If not allowed outside a procedure”

No problem whatsoever running the macros in normal Excel on my windows computer.
Any way to fix this? Or am I doomed to live without macro’s on my chromebook.

(Chromebook Toshiba 2)