Compiler Directive Keyword Summary

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Action

Keywords

Define compiler constant.

#Const

Compile selected blocks of code.

#If...Then...#Else

Show:
© 2016 Microsoft