Documentation Center

PslProject.Comment

Returns the comment of the project. The project comment can be used to display a message to the user, when opening the project.

Syntax

Expression.Comment as String

Expression Required. Object of type PslProject

Example

Dim prj As PslProject
Set prj = PSL.ActiveProject
If prj Is Nothing Then
  PSL.Output "No active project found."
Else
  prj.Comment = "Hello!"
  prj.DisplayComment = true
End If