There are a number of possible methods to move rows/columns and a number of reasons it may not be fool proof. On Linux I can highlight a row/col, hold down left mouse button in one of the selected cells, press the
Alt key then drag to new location.
See the many answers in this post for more → How to move columns/rows in Calc?
As for macro recording;
From menu select
Tools->Options then under
LibreOffice->Advanced. Lower center of dialog is ``Enable macro recording` and note it states (may be limited) because it is. Won’t do everything you may want. Learning to code macros is better. Just be aware.
Once this is set you can access from menu
If this answers your question please tick the (upper left area of answer). It helps others to know there was an accepted answer.