Item Property

Returns an object from a collection, or returns text associated with an object.

Item is the default member of the object or collection. For example, the following two statements both assign a CommandBar object to cmdBar.

Set cmdBar = CommandBars.Item("Standard")
Set cmdBar = CommandBars("Standard")

The following two statements both assign the text of the first label in the Balloon object assigned to myBalloon to lblText.

lblText = myBalloon.Labels(1).Item
lblText = myBalloon.Labels(1)

Select one of the following objects to see a detailed description of the Item property for that object:

AnswerWizardFiles

Assistant

BalloonCheckboxes

BalloonCheckbox

BalloonLabel

BalloonLabels

COMAddIns

CommandBarControls

CommandBars

DocumentProperties

FoundFiles

HTMLProjectItems

PropertyTests

Scripts

WebPageFonts