次の方法で共有


Pane.Close メソッド (Project)

ウィンドウの下枠を閉じます。

構文

閉じる

Pane オブジェクトを返す式。

戻り値

Nothing

次のコマンドは、 ウィンドウ オブジェクトの Close メソッドを実行します。

  1. Create and apply a combination view named Combo View.

  2. 下枠を閉じます。

  3. Apply the Combo View again to open the bottom pane.

  4. 上枠をアクティブにします。

  5. 下の ActivePane.Close ペインがアクティブではないため、コマンドは何も実行しません。

  6. 下枠をアクティブにします。

  7. コマンドを使用して下部のウィンドウを ActivePane.Close 閉じます。

ActiveProject.ViewsCombination.Add(Name:="Combo View", TopView:="Gantt Chart", BottomView:="Resource Sheet").Apply 
ActiveWindow.BottomPane.Close 
ActiveProject.ViewsCombination("Combo View").Apply 
ActiveWindow.TopPane.Activate 
ActiveWindow.ActivePane.Close 
ActiveWindow.BottomPane.Activate 
ActiveWindow.ActivePane.Close

サポートとフィードバック

Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。