Documentation Center

PassoloApp.ActiveProject

Returns the current PslProject object, this means the project of which the window is just active. If a string list is activated, the accompanying project is returned. Otherwise Nothing is returned.

Syntax

Expression.ActiveProject as PslProject

Expression Required. Object of type PassoloApp

Example

Dim prj As PslProject
Set prj = PSL.ActiveProject
If prj Is Nothing Then
  PSL.Output 
  "No active project found."
Else
  PSL.Output 
  prj.Name
End If