Open the Border tab in Format Cells to choose a line style, pick a color, Preview the result, and apply border actions to the current selection....border buttons around the preview area. The dialog keeps these...need more control, use the preview buttons to toggle top , bottom...