PivotCache.RobustConnect プロパティ (Excel)
ピボットテーブル キャッシュをデータ ソースに接続する方法を設定または返します。 XlRobustConnect の読み取り/書き込み。
構文
式。RobustConnect
式PivotCache オブジェクトを表す変数。
例
次の使用例は、キャッシュ接続の設定を調べ、通知します。 次の使用例では、アクティブ ワークシートにピボットテーブルがあるものとします。
Sub CheckRobustConnect()
Dim pvtCache As PivotCache
Set pvtCache = Application.ActiveWorkbook.PivotCaches.Item(1)
' Determine the connection robustness and notify user.
Select Case pvtCache.RobustConnect
Case xlAlways
MsgBox "The PivotTable cache is always connected to its source."
Case xlAsRequired
MsgBox "The PivotTable cache is connected to its source as required."
Case xlNever
MsgBox "The PivotTable cache is never connected to its source."
End Select
End Sub
サポートとフィードバック
Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示