Share via


How to: Change the Name of a Control

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

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

Note

Each control should have a unique name.