VBA Macro Comment (d)

Note for recording user information and program logic, other programmers in the future be the same code reading and understanding the work seamlessly.

It includes those modifications and may also include information from the developer, the merge logic. Interpreter ignores comments at execution time.

Notes in VBA represented by two methods which are as follows -

  • Any single quote ( 'sentence beginning) are treated as comments. The following is an example comment.

    ' This Script is invoked after successful login 
    ' Written by : Yiibai Yiibai
    ' Return Value : True / False
  • Any keyword "REM"statements beginning. The following is an example comment.
  • REM This Script is written to Validate the Entered Input 
    REM Modified by  : Yiibai Yiibai /user2

Guess you like

Origin www.cnblogs.com/sunyllove/p/11347947.html