On Windows, this shortcut only works within the Format Cells dialog box, on the Borders tab. If you use this shortcut in Format Cells, you'll see a horizontal interior border added or removed from the border preview area.
On the Mac, there is no equivalent shortcut.
Get over 200 Excel shortcuts for Windows and Mac in one handy PDF.
Quick, clean, and to the point.