As far as I can tell, you can only set styles and borders that will apply to individual cells and not outer borders for ranges of cells. So if I want to create
Example of a border style:
Style bordered = workbook.styles.add('bordered');
bordered.borders.all.lineStyle = LineStyle.thin;
sheet.getRangeByName('A1:H10').cellStyle = bordered;
This gives every individual cell a thin border around it, as desired.
However, if I want to display a LineStyle.thick around just the outer borders of this box (A10:C10) with the inner cells having the thin border, I need to create 5-9 total styles? (depending on other requirements). Or is there a better way to define cell specific border styles and then Range outer border styles...in a way consistent with how excel itself treats this?