Guide: The Document Object Model in VBA
The logical structure of a document (Excel, HTML, XML, Word, etc) is called a “document object model.” It can be used to access and work on the properties, methods, and events of the object. For example, in a Word document, there could be shapes/pictures, text,