Applies To
ToolbarButton Object.
Description
True if the button is really a gap (an extended space between buttons). Read-only.
Example
This example displays the number of separator gaps on the Standard toolbar.
gapCount = 0
For Each btn In Toolbars("Standard").ToolbarButtons
If btn.IsGap Then
gapCount = gapCount + 1
End If
Next btn
MsgBox "There are " & gapCount & " gaps on the Standard toolbar"