問題タブ [excel-automation]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - Python を使用して Excel Pivot で複数選択フィルターを変更する方法 (win32com)
Excel ファイルのフィルター値を変更する Python 自動化スクリプトを作成しています。ピボットに月の列があり、過去 2 か月を複数選択してフィルター処理する必要があります。これが 6 月 21 日だとすると、フィルターでの選択は (6 月 21 日と 5 月 21 日) になります。
月フィールドが列にあるため、以下のプロパティを使用できません
以下のコードを使用して複数選択を設定することもできません