Syntax
| [ | Private | Public ] Const name[type] [As Type] = expr[, ...]
|
---|---|
Description
| Define name as the value of expr. The expr may be refer other constants or built-in functions. If the type of the constants is not specified, the type of expr is used. Constants defined outside a Sub, Function or Property block are available in the entire macro/module.
Private is assumed if neither Private or Public is specified.
Note: Const statement in a Sub, Function or Property block may not use Private or Public.
|
See Also
| |
Example
|
|