EditBoxes Method

Applies To

DialogSheet Object.

Description

Accessor. Returns an object that represents a single edit box control (an EditBox object, Syntax 1) or a collection of edit box controls (an EditBoxes object, Syntax 2) on the sheet.

Syntax 1

object.EditBoxes(index)

Syntax 2

object.EditBoxes

object

Required. The DialogSheet object.

index

Required for Syntax 1. Specifies the name or number of the edit box (can be an array to specify me than one).

Example

This example sets the text in edit box one on Dialog1.


DialogSheets("Dialog1").EditBoxes(1).Text = "Start here"