Home » エクセルマクロ・Excel VBAの使い方 » 図形内文字列 » TextRange2とCharactersのプロパティ・メソッド比較一覧

TextRange2とCharactersのプロパティ・メソッド比較一覧

動作検証バージョン:64bit Windows 10 Pro + 32bit Excel(バージョン2106 ビルド14131.20332 Microsoft Store)

Excel VBAで文字列を表すCharactersオブジェクトは、文字列を操作するためのオブジェクトという観点から、Officeライブラリで文字列範囲を表すTextRange2オブジェクトの機能限定版と考えられなくもありません。

どれくらい似ている部分があって、どれくらい違うのかを確認するために、それぞれが持つプロパティとメソッドを比較するための一覧を作成しておきます。

[スポンサードリンク]

TextRange2とCharactersのプロパティ比較一覧

Office.TextRange2
のプロパティ
戻り値Excel.Characters
のプロパティ
戻り値
ApplicationObjectApplicationApplication
BoundHeightSingle-
BoundLeftSingle-
BoundTopSingle-
BoundWidthSingle-
-CaptionString
CharactersTextRange2-
CountLongCountLong
CreatorLongCreatorXlCreator
FontFont2FontFont
LanguageIDMsoLanguageID-
LengthLong-
LinesTextRange2-
MathZonesTextRange2-
ParagraphFormatParagraphFormat2-
ParagraphsTextRange2-
ParentObjectParentObject
-PhoneticCharactersString
RunsTextRange2-
SentencesTextRange2-
StartLong-
TextStringTextString
WordsTextRange2-

TextRange2とCharactersのメソッド比較一覧

Office.TextRange2
のメソッド
戻り値Excel.Characters
のメソッド
戻り値
AddPeriodsなし-
ChangeCaseなし-
Copyなし-
Cutなし-
DeleteなしDeleteVariant
FindTextRange2-
-InsertVariant
InsertAfterTextRange2-
InsertBeforeTextRange2-
InsertChartFieldTextRange2-
InsertSymbolTextRange2-
ItemTextRange2-
LtrRunなし-
PasteTextRange2-
PasteSpecialTextRange2-
RemovePeriodsなし-
ReplaceTextRange2-
RotatedBoundsなし-
RtlRunなし-
Selectなし-
TrimTextTextRange2-

[スポンサードリンク]

Home » エクセルマクロ・Excel VBAの使い方 » 図形内文字列 » TextRange2とCharactersのプロパティ・メソッド比較一覧

「図形内文字列」の記事一覧

検索

Copyright © インストラクターのネタ帳 All Rights Reserved.

.