I am trying to write a macro to sort a spreadsheet from (eventually) a button.
I have been unable to get the macro recorder to generate code to be linked to by my new button. It generates a commented out dispatch command but does not set any sort parameters. When done manually the sort works as I want it to do.
I have search for, and failed to find, any documentation of the parameters I need to set to repeat this search using a macro.
The data I want to sort is on a dedicated Tab (no other data). It has a header row and I simply want to sort based on a single specific column (by header name, or could use column number) in ascending order.
If someone could point me to the documentation for the parameters I need to set to perform the sort I would be very grateful.
I am very experienced with Excel macros (since 1989) and with programming in general (C, C++, Pythion, VBA etc). I am not so familiar with the debugging tools available for LO macros.
I am currently using LO version 7.2.2.2 on W10.