Open Tools - Macros - LibreOfficeDev Basic - Edit and select LibreOfficeDev Macros container.
This library must be loaded before execution. Place the following statement before the first macro in your module: GlobalScope.BasicLibraries.LoadLibrary("Euro")