property Item.Separator as Boolean

Retrieves or sets a value that indicates whether the source is a separator item.

TypeDescription
Boolean A boolean expression that indicates whether the source is a separator item.

Use Add property of the Menu object to add a new item to the menu. The following sample shows how to add a new separator item to the menu:

With PopupMenu1.Items
.Add "", Separator
End With