To launch the Format Cells dialogue box, use Ctrl + 1. Alternatively, right-click the cells you want to format and select Format Cells from the popup menu. Toggle to the Border tab and perform the following steps: Select the desired border line style from the Line box.