Tutorial by Examples

A comment is marked by an apostrophe ('), and ignored when the code executes. Comments help explain your code to future readers, including yourself. Since all lines starting with a comment are ignored, they can also be used to prevent code from executing (while you debug or refactor). Placing an ap...
Sub RemComments() Rem Comments start with "Rem" (VBA will change any alternate casing to "Rem") Rem is an abbreviation of Remark, and similar to DOS syntax Rem Is a legacy approach to adding comments, and apostrophes should be preferred Rem Comments CANNOT appear af...

Page 1 of 1