How to Assign a short-cut key (hotkey) for a LibreOffice Macro
Open LibreOffice that containing the macro
Click “Tools” -> “Customize…”
In Customize, Click “Keyboard” tab and scroll down the “Category” section until you find “LibreOffice Macros“. Select the macro.
Select the function that you want to assign the shortcut key in “Function” section and find the available keys in “Shortcut Keys” area. Select the key and click “Modify” button. Click “OK”