Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.85 KB

Project.Application.CalendarDateShading.md

File metadata and controls

46 lines (28 loc) · 1.85 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.CalendarDateShading method (Project)
vbapj.chm2344
vbapj.chm2344
project-server
Project.Application.CalendarDateShading
fedb04c6-e9a4-9289-aedd-042f3751e27d
06/08/2017
medium

Application.CalendarDateShading method (Project)

Determines which calendar is used when determining when and how dates are shaded in the Calendar view.

Syntax

expression. CalendarDateShading( _BaseCalendarName_, _ResourceUniqueID_, _ProjectIndex_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
BaseCalendarName Optional String If referring to a single project, or the master project in a consolidated project, the name of a base calendar to use for shading. If referring to an subproject in a consolidated project, the name of a base calendar and the name of the subproject in the manner of " Calendar [ Project ]", where Calendar is the name of the base calendar and Project is the name of the subproject.
ResourceUniqueID Optional Long The unique identification number of a resource. The corresponding resource calendar is used for shading.
ProjectIndex Optional Variant Due to changes in the Project object model, this argument no longer has an effect. It has been retained for backward compatibility.

Return value

Boolean

Remarks

When the Calendar view is active, using the CalendarDateShading method with no arguments displays the Timescale dialog box with the Date Shading tab selected. You must specify either BaseCalendarName or ResourceUniqueID, but you cannot specify both.

[!includeSupport and feedback]