ExcelWork.info

Excel(エクセル)のマクロ・VBA・関数・操作などのメモ

「 VBA基本 」 一覧

色の設定(ThemeColor プロパティ・TintAndShade プロパティ)

ThemeColor プロパティ・TintAndShade プロパティ テーマカ …

色の設定(ColorIndex プロパティ・Colors プロパティ)

ColorIndex プロパティ ColorIndex プロパティは、指定したオ …

色の設定(Color プロパティ・RGB 関数)

Color プロパティ Color プロパティは、指定したオブジェクトの色を取得 …

RGB値一覧表

RGB 値一覧表(XlRgbColor 列挙型)

RGB 値(XlRgbColor 列挙型)一覧表 RGB 関数を使用して、出力さ …

VerticalAlignment プロパティ 例01

文字列の縦位置を取得・設定する(VerticalAlignment プロパティ)

VerticalAlignment プロパティ VerticalAlignmen …

文字列の横位置を取得・設定する(HorizontalAlignment プロパティ)

HorizontalAlignment プロパティ HorizontalAlig …

文字の向きを表す値を取得・設定する(Orientation プロパティ)

Orientation プロパティ Orientation プロパティで、文字列 …

StandardWidth プロパティ・StandardHeight プロパティ 例01

セル幅・高さの既定値(StandardHeight プロパティ・StandardWidth プロパティ)

StandardHeight プロパティ・StandardWidth プロパティ …

セルの幅・高さの自動調整(AutoFit メソッド)

AutoFit メソッド AutoFit メソッドは、指定したセル・セル範囲(R …

行の高さを取得・設定・する(RowHeight プロパティ)

RowHeight プロパティ RowHeight プロパティは、対象セルの高さ …

列幅を取得・設定・する(ColumnWidth プロパティ)

ColumnWidth プロパティ ColumnWidth プロパティは、対象セ …

Height プロパティ Width プロパティ 例

セルの高さ・幅を取得(Height プロパティ・Width プロパティ)

Height プロパティ・Width プロパティ Height プロパティは、指 …

セルの文字列を取得(Text プロパティ)

Text プロパティ セルに表示されている文字列を取得します。Text プロパテ …

セルの位置を取得(Left プロパティ、Top プロパティ)

Left プロパティ・Top プロパティ Left プロパティは、「A列」の左端 …

行・列の表示・非表示(Hidden プロパティ)

Hidden プロパティ Hidden プロパティに True を設定することで …

グラフが保護されているか確認(ProtectContents プロパティ)

ProtectContents プロパティ グラフが保護されているかどうかを調べ …

Excel

ワークブックを保護・保護を解除(Protect メソッド・Unprotect メソッド)

Protect メソッド・Unprotect メソッド Protect メソッド …

Excel

シートを保護・保護したシートを解除する(Protect メソッド・Unprotect メソッド)

Protect メソッド・Unprotect メソッド Protect メソッド …

ProtectContents プロパティ 例

シートが保護されているか確認(ProtectContents プロパティ)

ProtectContents プロパティ ワークシートが保護されているかどうか …

FormulaHidden プロパティ 例1

数式を非表示にする(FormulaHidden プロパティ)

FormulaHidden プロパティ 数式が入力されたセルを選択するとその数式 …