Set properties by using Visual Basic

You can set most properties from Visual Basic code. How you set a property depends on whether you are setting it for a Form, Report, Control, ActiveX Data Objects (ADO), or Data Access Objects (DAO).

The following topics outline the steps involved for setting properties of each type of object:

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.