Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.29 KB

Project.Application.ZoomCalendar.md

File metadata and controls

59 lines (36 loc) · 1.29 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.ZoomCalendar method (Project)
vbapj.chm2347
vbapj.chm2347
project-server
Project.Application.ZoomCalendar
fc02c827-11a0-380b-9e05-b4452246ff05
06/08/2017
medium

Application.ZoomCalendar method (Project)

Zooms in on or out from the Calendar.

Syntax

expression. ZoomCalendar( _NumWeeks_, _StartDate_, _EndDate_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
NumWeeks Optional Long The number of weeks to display. If StartDate and EndDate are specified, NumWeeks is ignored.
StartDate Optional Variant The first date to display.
EndDate Optional Variant The last date to display.

Return value

Boolean

Remarks

Using the ZoomCalendar method without specifying any arguments displays the Zoom dialog box.

Example

The following example displays four rows of weeks within the active pane of the Calendar view.

Sub FourWeekCalendar() 
 ViewApply Name:="Calendar" 
 ZoomCalendar NumWeeks:=4 
End Sub

[!includeSupport and feedback]