Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 863 Bytes

Project.TimeScaleValue.Clear.md

File metadata and controls

40 lines (27 loc) · 863 Bytes
title ms.service api_name ms.assetid ms.date ms.localizationpriority
TimeScaleValue.Clear method (Project)
project-server
Project.TimeScaleValue.Clear
3ed3a584-5496-cdf4-eafa-e0ecdd01edfd
06/08/2017
medium

TimeScaleValue.Clear method (Project)

Clears the value of a timescaled data item.

Syntax

expression.Clear

expression A variable that represents a TimeScaleValue object.

Example

The following example schedules a half-day of work on Fridays by creating an 8 A.M. to noon shift and removing the second and third shifts.

Sub HalfDayFridays() 
 With ActiveProject.Calendar.Weekdays(pjFriday) 
 .Shift1.Start = #8:00:00 AM# 
 .Shift1.Finish = #12:00:00 PM# 
 .Shift2.Clear 
 .Shift3.Clear 
 End With 
End Sub

[!includeSupport and feedback]