Give a Control a 3-D Appearance Programmatically

The following code example uses the ModifiedFormPages property of the current Inspector object to set the SpecialEffect property of a CheckBox on a page named "Test." By setting the SpecialEffect property to 2, the CheckBox will have a sunken effect.

Item.GetInspector.ModifiedFormPpages("Test").Checkbox1.SpecialEffect = 2

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.