Select a cell or a range. Click the Home tab. Click the Borders button arrow. Select a border from the submenu.
To remove cell borders, click No Border.
Check the result.