Borderstyle

Hello

I’ve created a module that can format cells in excel. I want to be able to change the border style of a certain range. How should I approach this. In the screenshot below there are two ways I’ve already tried.
Option 1: Cell style settings and option 2: border style.