You know if a reference is not set as soon as you try to access a property, constant, or method of an object that requires a reference. In older versions of Microsoft Access, the Microsoft Office Object references may not be set. Setting a reference allows you to work with other application objects in your code. To work with the examples in this chapter, ensure that your Access program has a reference set to the Microsoft Office Object library. Some office objects, however, are application specific. Most of the Microsoft Office Objects can be used across the Microsoft Office suite of applications such as Microsoft Word, Microsoft Excel, and Microsoft Access. In addition to objects such as DoCmd, Err, Debug, as well as objects found in the ADODB library, VBA provides the Microsoft Office Object model for use in the suite of applications found in Microsoft Office.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |