Alphabetical Keyword List

The following list contains keywords intrinsic to Visual Basic, Visual Basic for Applications, and Visual Basic, Scripting Edition, that are not directly related to forms, controls, or objects.

' Comment Operator

CategoryMiscellaneous Features
AvailabilityVB:Yes, VBA:Yes, VBScript:Yes
PurposeBegins a source code comment line or line section.
Typical Syntax' comment
See AlsoRem Statement

Use the comment operator ( ' ) as needed within your Visual Basic source code. When adding comments to your source code, always use the single quote comment operator; discontinue use of the Rem statement.

The syntax of Visual Basic allows you to continue any line, including a comment line, with a line continuation character ( _ ). Do not ...

Get Visual Basic® Style Guide, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.