Table of contents
Collapse the table of content
Expand the table of content

CodeModule Property (VBA Add-In Object Model)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Returns an object representing the code behind the component. Read-only. Remarks The CodeModule property returns Nothing if the component doesn't have acode module associated with it.

Note The CodePane object represents a visible code window. A given component can have several CodePane objects. The CodeModule object represents the code within a component. A component can only have one CodeModule object.

© 2018 Microsoft