Application.InsertResource メソッド (Project)

新しいリソースをリソース ビューに挿入します。

構文

InsertResource( _Type_ )

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

パラメーター

名前 必須 / オプション データ型 説明
Type 省略可能 PjResourceTypes 型は、コスト、数量単価型、または作業時間のリソースであるかどうかを指定します。 PjResourceTypes 定数のいずれかをすることができます。 PjResourceTypeWork は、既定では。

戻り値

ブール型 (Boolean)

注釈

The InsertResource method corresponds to the Insert Resource command on the right-click option menu in the Resource Sheet view or Resource Usage view. [ リソース名] セルが **<Type Resource Name Here>** で選択されています。 In the Team Planner view, InsertResource creates a row below the last resource, with the name New Resource.

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

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