How should I save an ooo Basic macro to be able to send it by email?

I wrote a macro, saved it, (libreorrice basic!) but when I sent it by mail on recipient pc macro was not to see.

Where and how exactly do I have to save it to be able to send it by mail?

It has to do sth with “standard” and “save” but I forgot exactly…

I just made ModulNew in Standard library.

@altair, please make sure the main question reflects the question you ask in the description and use meaningful tags. Be precise in your words, do not use too many exclamation marks, periods or too few question marks. If you crosspost questions, please be so kind to add a link. However, it’s probably not necessary to post the same question in multiple places.

The general question was answered in Where are LO Basic macros stored?