Change the name property of a control

Microsoft Office Outlook 2003

Change the name property of a control

  1. In design mode, right-click the control you want, and then click Properties on the shortcut menu.

  2. On the Display page, type a name in the Name box.

Note  Each control should have a unique name.

The following code example uses the ModifiedFormPages property of the current Inspector object to set the Name property of a CheckBox on a page named "Test" to "Selection."

Item.GetInspector.ModifiedFormPages("Test").Checkbox1.Name = "Selection"