Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 726 Bytes

Project.Window.Close.md

File metadata and controls

43 lines (27 loc) · 726 Bytes
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Window.Close method (Project)
project-server
Project.Window.Close
820f202b-d609-02e6-eff4-3368b9f93dd5
06/08/2017
medium

Window.Close method (Project)

Closes a pane or window.

Syntax

expression.Close

expression A variable that represents a Window object.

Example

The following example closes the lower pane of every open window.

Sub CloseWindowsOfActiveProject() 
 
 Dim W As Window 
 
 For Each W in Application.Windows 
 If Not (W.BottomPane Is Nothing) Then 
 W.BottomPane.Close 
 End If 
 Next W 
 
End Sub

[!includeSupport and feedback]