LO Calc - Macro to Select Border Style

Is there a way to create a Macro to Select Border Style? E.g. Thick Borders.

I’ve tried to Record Macro and select a Thick Border. But when I try to Run the Macro, it erases all borders instead.

I’ve created Macros to add Borders (Top, Left, Outer, etc.), and they work well. Is there something I might be missing for Border Style?