Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.38 KB

Project.Application.BaselineClear.md

File metadata and controls

58 lines (36 loc) · 1.38 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.BaselineClear method (Project)
vbapj.chm2384
vbapj.chm2384
project-server
Project.Application.BaselineClear
a319fc88-2421-eafa-e498-4a0a5f173394
06/08/2017
medium

Application.BaselineClear method (Project)

Clears the baseline data from the baseline fields or clears the data from a Start n / Finish n pair of dates.

Syntax

expression. BaselineClear( _All_, _From_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
All Optional Boolean True if all tasks in the active project should be cleared. False if only the selected tasks should be cleared. The default value is True.
From Optional Long The fields to be cleared. The default value is pjIntoBaseline. Can be one of the PjSaveBaselineTo constants.

Return value

Boolean

Example

The following example first saves the baseline and then clears it.

Sub Baseline_Clear() 
 
 Dim Result As Boolean 
 
 'Save baseline 
 Result = BaselineSave(True) 
 'Clear baseline 
 Result = BaselineClear (True) 
End Sub

[!includeSupport and feedback]