動作検証バージョン:64bit Windows 10 Pro + 32bit Excelバージョン2102 ビルド13801.20294 Microsoft Store)
Excel VBAで、テーブル(ListObjectオブジェクト)の行を表すListRowオブジェクトと、列を表すListColumnオブジェクトは、似たプロパティがいくつか用意されているものの同じというわけではありません。
[スポンサードリンク]
その比較をしたかったので、プロパティと戻り値の一覧を作成しておきます。
| ListRow のプロパティ  | 戻り値 | ListColumn のプロパティ  | 戻り値 | 
|---|---|---|---|
| Application | Application | Application | Application | 
| Creator | XlCreator | Creator | XlCreator | 
| - | DataBodyRange | Range | |
| Index | Long | Index | Long | 
| - | Name | String | |
| Parent | Object | Parent | Object | 
| Range | Range | Range | Range | 
| - | Total | Range | |
| - | TotalsCalculation | XlTotalsCalculation | |
| - | XPath | XPath | 
ちなみに、メソッドについてはいずれもDeleteメソッドのみが存在します。
最終更新日時:2021-03-22 14:37
[スポンサードリンク]
Home » エクセルマクロ・Excel VBAの使い方 » ListObjectオブジェクト » ListRowとListColumnが持つプロパティの比較一覧
『インストラクターのネタ帳』では、2003年10月からMicrosoft Officeの使い方などを紹介し続けています。










