Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
range.groupのメソッドを使用Microsoft.Office.Interop.Excel.dll しており、列または行を Excel ドキュメントのアウトライン レベルとしてグループ化します。しかし、シンボルを左側に設定する方法の問題がありますが"+"、最後の列または行に従って右側のデフォルトの位置ではありません。
range.group
Microsoft.Office.Interop.Excel.dll
"+"
方向を制御するためにどのような方法が使用され、この方法をどのように使用するか。それが例になれば最高です。
エクセル:データ/グループとアウトライン/設定..
コード内:
range.Group(oMissing, oMissing, oMissing, oMissing); //for rows worksheet.Outline.SummaryRow = Excel.XlSummaryRow.xlSummaryAbove; //for columns worksheet.Outline.SummaryColumn = Excel.XlSummaryColumn.xlSummaryOnLeft;