RAS プレイグラウンド English GitHub

型定義(Excel・VBA)

Excel

RAS に同梱している Excel オブジェクト モデルの型定義(抜粋)です。補完・型チェックに使われ、ここに無いメンバーはエラーになります(object 型の値のメンバーは遅延バインディングになり、検査しません)。

拡張メソッド(range.lastRow()・ws.find()・book.sheet() など)は Range・シート・ブック にあります。

リファレンス

インターフェイス Excel.Application

Excel アプリケーション全体を表す。

Microsoft のリファレンス

#
screenUpdating: boolean

画面の再描画を行うかどうか。false にするとマクロが速くなる。

Microsoft のリファレンス

VBA: ScreenUpdating

#
enableEvents: boolean

イベントを発生させるかどうか。

Microsoft のリファレンス

VBA: EnableEvents

#
calculation: XlCalculation

再計算モード(自動 / 手動)。開いているブックがないと設定に失敗する。

Microsoft のリファレンス

VBA: Calculation

#
displayAlerts: boolean

確認メッセージや警告を表示するかどうか。

Microsoft のリファレンス

VBA: DisplayAlerts

#
statusBar: string | boolean

ステータス バーの文字列。false を代入すると Excel の既定表示に戻る。 Excel が表示を管理しているときは false を返す。

Microsoft のリファレンス

VBA: StatusBar

#
displayStatusBar: boolean

ステータス バーを表示するかどうか。

Microsoft のリファレンス

VBA: DisplayStatusBar

#
cursor: XlMousePointer

マウス ポインターの形。

Microsoft のリファレンス

VBA: Cursor

#
interactive: boolean

キーボードとマウスからの入力を受け付けるかどうか。

Microsoft のリファレンス

VBA: Interactive

#
enableCancelKey: XlEnableCancelKey

マクロ実行中の Esc / Ctrl+Break の扱い。

Microsoft のリファレンス

VBA: EnableCancelKey

#
cutCopyMode: XlCutCopyMode

切り取り / コピー モードの状態。解除するには 0(VBA の False)を代入する。

Microsoft のリファレンス

VBA: CutCopyMode

#
caption: string

タイトル バーに表示する名前。

Microsoft のリファレンス

VBA: Caption

#
readonly version: string

Excel のバージョン番号("16.0" など)。

Microsoft のリファレンス

VBA: Version

#
readonly operatingSystem: string

OS の名前とバージョン。

Microsoft のリファレンス

VBA: OperatingSystem

#
userName: string

現在のユーザー名。

Microsoft のリファレンス

VBA: UserName

#
readonly hwnd: int

Excel のメイン ウィンドウのハンドル。

Microsoft のリファレンス

VBA: Hwnd

#
readonly activeWorkbook: Workbook

アクティブなブック。ブックが開いていなければ Nothing。

Microsoft のリファレンス

VBA: ActiveWorkbook

#
readonly activeSheet: Worksheet | Chart

アクティブなシート(ワークシートまたはグラフ シート)。ブックが開いていなければ Nothing。

Microsoft のリファレンス

VBA: ActiveSheet

#
readonly activeCell: Range

アクティブなセル。

Microsoft のリファレンス

VBA: ActiveCell

#
readonly activeWindow: Window

アクティブなウィンドウ。

Microsoft のリファレンス

VBA: ActiveWindow

#
readonly activeChart: Chart

アクティブなグラフ。

Microsoft のリファレンス

VBA: ActiveChart

#
readonly selection: object

現在選択されているオブジェクト(セル範囲なら Range)。

Microsoft のリファレンス

VBA: Selection

#
readonly thisWorkbook: Workbook

実行中のマクロが入っているブック。

Microsoft のリファレンス

VBA: ThisWorkbook

#
readonly thisCell: Range

ユーザー定義関数を呼び出しているセル。

Microsoft のリファレンス

VBA: ThisCell

#
readonly workbooks: Workbooks

開いているすべてのブックのコレクション。

Microsoft のリファレンス

VBA: Workbooks

#
readonly worksheets: Sheets<Worksheet>

アクティブ ブックのすべてのワークシート。

Microsoft のリファレンス

VBA: Worksheets

#
readonly sheets: Sheets

アクティブ ブックのすべてのシート(グラフ シートを含む)。

Microsoft のリファレンス

VBA: Sheets

#
readonly charts: Sheets<Chart>

アクティブ ブックのすべてのグラフ シート。

Microsoft のリファレンス

VBA: Charts

#
readonly windows: Windows

すべてのウィンドウのコレクション。

Microsoft のリファレンス

VBA: Windows

#
readonly names: Names

アクティブ ブックの名前定義のコレクション。

Microsoft のリファレンス

VBA: Names

#
readonly worksheetFunction: WorksheetFunction

ワークシート関数を VBA から呼び出すためのオブジェクト。

Microsoft のリファレンス

VBA: WorksheetFunction

#
range(cell1: any, cell2?: any): Range

アクティブ シート上のセルまたはセル範囲を返す。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Range

#
cells(row?: any, col?: any): Range

アクティブ シートのセルを返す。引数なしなら全セル。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Cells

#
rows(index?: any): Range

アクティブ シートの行を返す。引数なしなら全行。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Rows

#
columns(index?: any): Range

アクティブ シートの列を返す。引数なしなら全列。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Columns

#
union(arg1: Range, arg2: Range, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): Range

複数のセル範囲を 1 つにまとめた範囲を返す。

Microsoft のリファレンス

VBA: Union

#
intersect(arg1: Range, arg2: Range, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): Range

複数のセル範囲の共通部分を返す。重なりがなければ Nothing。

Microsoft のリファレンス

VBA: Intersect

#
evaluate(name: any): cellValue

名前や数式の文字列を評価して、オブジェクトまたは値にする。

Microsoft のリファレンス

VBA: Evaluate

#
run(macro: any, arg1?: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): any

マクロまたは関数を名前で呼び出す。

Microsoft のリファレンス

VBA: Run

#
onTime(earliestTime: any, procedure: string, latestTime?: any, schedule?: any): void

指定した時刻にプロシージャを実行するよう予約する。

Microsoft のリファレンス

VBA: OnTime

#
onKey(key: string, procedure?: any): void

キー操作にプロシージャを割り当てる。

Microsoft のリファレンス

VBA: OnKey

#
wait(time: any): boolean

指定した時刻までマクロを一時停止する。

Microsoft のリファレンス

VBA: Wait

#
calculate(): void

開いているすべてのブックを再計算する。

Microsoft のリファレンス

VBA: Calculate

#
calculateFull(): void

開いているすべてのブックを強制的に完全再計算する。

Microsoft のリファレンス

VBA: CalculateFull

#
calculateFullRebuild(): void

依存関係を作り直してから完全再計算する。

Microsoft のリファレンス

VBA: CalculateFullRebuild

#
inputBox(prompt: string, title?: any, defaultValue?: any, left?: any, top?: any, helpFile?: any, helpContextId?: any, type?: any): any

入力ダイアログを表示する。type で受け取る値の種類(数値・セル範囲など)を指定できる。

Microsoft のリファレンス

VBA: InputBox

#
getOpenFilename(fileFilter?: any, filterIndex?: any, title?: any, buttonText?: any, multiSelect?: any): string | boolean | any[]

[ファイルを開く] ダイアログを表示してパスを返す(キャンセル時は false)。ファイルは開かない。 multiSelect に true を渡すと、選んだパスの配列(typeof は "Variant()")を返す。Excel が返す配列は 1 始まりだが、RAS の他の配列と同じく 0 始まりに直して返す。

Microsoft のリファレンス

VBA: GetOpenFilename

#
getSaveAsFilename(initialFilename?: any, fileFilter?: any, filterIndex?: any, title?: any, buttonText?: any): string | boolean

[名前を付けて保存] ダイアログを表示してパスを返す(キャンセル時は false)。保存はしない。

Microsoft のリファレンス

VBA: GetSaveAsFilename

#
fileDialog(fileDialogType: Office.MsoFileDialogType): Office.FileDialog

ファイル / フォルダー選択ダイアログのオブジェクトを返す。

Microsoft のリファレンス

VBA: FileDialog

#
goto(reference?: any, scroll?: any): void

指定したセル範囲またはプロシージャへ移動して選択する。

Microsoft のリファレンス

VBA: Goto

#
quit(): void

Excel を終了する。

Microsoft のリファレンス

VBA: Quit

#
volatile(volatile?: any): void

ユーザー定義関数を揮発性(再計算のたびに評価)にする。

Microsoft のリファレンス

VBA: Volatile

#
caller(index?: any): any

マクロの呼び出し元の情報(セルから呼ばれた関数なら Range)を返す。

Microsoft のリファレンス

VBA: Caller

#
international(index?: any): any

国や地域の設定(区切り文字など)を返す。

Microsoft のリファレンス

VBA: International

#
readonly pathSeparator: string

パスの区切り文字。

Microsoft のリファレンス

VBA: PathSeparator

#
decimalSeparator: string

小数点の記号。

Microsoft のリファレンス

VBA: DecimalSeparator

#
thousandsSeparator: string

桁区切りの記号。

Microsoft のリファレンス

VBA: ThousandsSeparator

#
match(arg1: cellValue, arg2: any, arg3?: any): cellValue

ワークシート関数 MATCH を呼び出す。見つからないときは実行時エラーではなくエラー値を返す。

Microsoft のリファレンス

VBA: Match

#
index(arg1: any, arg2: any, arg3?: any, arg4?: any): cellValue

ワークシート関数 INDEX を呼び出す。失敗時はエラー値を返す。

Microsoft のリファレンス

VBA: Index

#
vLookup(arg1: cellValue, arg2: any, arg3: any, arg4?: any): cellValue

ワークシート関数 VLOOKUP を呼び出す。見つからないときはエラー値を返す。

Microsoft のリファレンス

VBA: VLookup

#
transpose(arg1: any): any

配列の行と列を入れ替える。

Microsoft のリファレンス

VBA: Transpose

#
convertFormula(formula: any, fromReferenceStyle: XlReferenceStyle, toReferenceStyle?: any, toAbsolute?: any, relativeTo?: any): any

数式の参照形式(A1 / R1C1、相対 / 絶対)を変換する。

Microsoft のリファレンス

VBA: ConvertFormula

#
readonly commandBars: object

コマンド バーのコレクション。

Microsoft のリファレンス

VBA: CommandBars

#
readonly vbe: object

VBA エディターのオブジェクト モデル。

Microsoft のリファレンス

VBA: VBE

#
readonly addIns: object

アドインのコレクション。

Microsoft のリファレンス

VBA: AddIns

#
readonly comAddIns: object

COM アドインのコレクション。

Microsoft のリファレンス

VBA: COMAddIns

#
referenceStyle: XlReferenceStyle

数式の参照形式(A1 / R1C1)。

Microsoft のリファレンス

VBA: ReferenceStyle

#
readonly ready: boolean

Excel が操作を受け付けられる状態かどうか。

Microsoft のリファレンス

VBA: Ready

#
readonly calculationState: XlCalculationState

計算の進行状態。

Microsoft のリファレンス

VBA: CalculationState

#
readonly calculationVersion: int

計算エンジンのバージョン番号。

Microsoft のリファレンス

VBA: CalculationVersion

#
moveAfterReturn: boolean

Enter キーを押したあとにアクティブ セルを移動するかどうか。

Microsoft のリファレンス

VBA: MoveAfterReturn

#
moveAfterReturnDirection: XlDirection

Enter キーを押したあとの移動方向。

Microsoft のリファレンス

VBA: MoveAfterReturnDirection

#
enableAnimations: boolean

行や列の挿入・削除をアニメーション表示するかどうか。

Microsoft のリファレンス

VBA: EnableAnimations

#
printCommunication: boolean

プリンターとの通信を行うかどうか。false にすると PageSetup の設定が速くなる。

Microsoft のリファレンス

VBA: PrintCommunication

ブックを開くときにリンクの更新を確認するかどうか。

Microsoft のリファレンス

VBA: AskToUpdateLinks

#
automationSecurity: Office.MsoAutomationSecurity

プログラムからファイルを開くときのマクロ セキュリティ。

Microsoft のリファレンス

VBA: AutomationSecurity

#
displayFullScreen: boolean

全画面表示かどうか。

Microsoft のリファレンス

VBA: DisplayFullScreen

#
windowState: XlWindowState

メイン ウィンドウの状態(最大化 / 最小化 / 標準)。

Microsoft のリファレンス

VBA: WindowState

#
width: double

メイン ウィンドウの幅(ポイント)。

Microsoft のリファレンス

VBA: Width

#
height: double

メイン ウィンドウの高さ(ポイント)。

Microsoft のリファレンス

VBA: Height

#
left: double

メイン ウィンドウ左端の位置(ポイント)。

Microsoft のリファレンス

VBA: Left

#
top: double

メイン ウィンドウ上端の位置(ポイント)。

Microsoft のリファレンス

VBA: Top

#
visible: boolean

Excel のウィンドウを表示するかどうか。

Microsoft のリファレンス

VBA: Visible

#
sendKeys(keys: any, wait?: any): void

アクティブなアプリケーションへキー操作を送る。

Microsoft のリファレンス

VBA: SendKeys

#
undo(): void

直前のユーザー操作を取り消す。

Microsoft のリファレンス

VBA: Undo

#
repeat(): void

直前のユーザー操作を繰り返す。

Microsoft のリファレンス

VBA: Repeat

#
readonly application: Application

VBA: Application

#
readonly parent: Application

VBA: Parent

#
readonly name: string

VBA: Name

#
readonly build: int

VBA: Build

#
readonly path: string

VBA: Path

#
readonly startupPath: string

VBA: StartupPath

#
readonly templatesPath: string

VBA: TemplatesPath

#
readonly libraryPath: string

VBA: LibraryPath

#
readonly userLibraryPath: string

VBA: UserLibraryPath

#
defaultFilePath: string

VBA: DefaultFilePath

#
readonly organizationName: string

VBA: OrganizationName

#
readonly productCode: string

VBA: ProductCode

#
activePrinter: string

VBA: ActivePrinter

#
calculationInterruptKey: XlCalculationInterruptKey

VBA: CalculationInterruptKey

#
calculateBeforeSave: boolean

VBA: CalculateBeforeSave

#
iteration: boolean

VBA: Iteration

#
maxIterations: int

VBA: MaxIterations

#
maxChange: double

VBA: MaxChange

#
displayFormulaBar: boolean

VBA: DisplayFormulaBar

#
displayScrollBars: boolean

VBA: DisplayScrollBars

#
readonly usableWidth: double

VBA: UsableWidth

#
readonly usableHeight: double

VBA: UsableHeight

#
userControl: boolean

VBA: UserControl

#
useSystemSeparators: boolean

VBA: UseSystemSeparators

#
sheetsInNewWorkbook: int

VBA: SheetsInNewWorkbook

#
standardFont: string

VBA: StandardFont

#
standardFontSize: double

VBA: StandardFontSize

#
cellDragAndDrop: boolean

VBA: CellDragAndDrop

#
copyObjectsWithCells: boolean

VBA: CopyObjectsWithCells

#
editDirectlyInCell: boolean

VBA: EditDirectlyInCell

#
enableAutoComplete: boolean

VBA: EnableAutoComplete

#
readonly dialogs: object

VBA: Dialogs

#
readonly recentFiles: object

VBA: RecentFiles

#
calculateUntilAsyncQueriesDone(): void

VBA: CalculateUntilAsyncQueriesDone

#
executeExcel4Macro(str: string): any

VBA: ExecuteExcel4Macro

#
centimetersToPoints(centimeters: double): double

VBA: CentimetersToPoints

#
inchesToPoints(inches: double): double

VBA: InchesToPoints

#
checkSpelling(word: string, customDictionary?: any, ignoreUppercase?: any): boolean

VBA: CheckSpelling

#
getPhonetic(text?: any): string

VBA: GetPhonetic

#
addCustomList(listArray: any, byRow?: any): void

VBA: AddCustomList

#
deleteCustomList(listNum: int): void

VBA: DeleteCustomList

#
onRepeat(text: string, procedure: string): void

VBA: OnRepeat

#
onUndo(text: string, procedure: string): void

VBA: OnUndo

excel.d.ras

インターフェイス Excel.Workbooks

開いているすべてのブックのコレクション。

Microsoft のリファレンス

#
(index: any): Workbook

インデックスまたはブック名でブックを返す(既定メンバー)。

Microsoft のリファレンス

#
item(index: any): Workbook

インデックスまたはブック名でブックを返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

開いているブックの数。

Microsoft のリファレンス

VBA: Count

#
add(template?: any): Workbook

新しいブックを作成する。

Microsoft のリファレンス

VBA: Add

#
open(filename: string, updateLinks?: any, readOnly?: any, format?: any, password?: any, writeResPassword?: any, ignoreReadOnlyRecommended?: any, origin?: any, delimiter?: any, editable?: any, notify?: any, converter?: any, addToMru?: any, local?: any, corruptLoad?: any): Workbook

ブックを開く。

Microsoft のリファレンス

VBA: Open

#
openText(filename: string, origin?: any, startRow?: any, dataType?: any, textQualifier?: XlTextQualifier, consecutiveDelimiter?: any, tab?: any, semicolon?: any, comma?: any, space?: any, other?: any, otherChar?: any, fieldInfo?: any, textVisualLayout?: any, decimalSeparator?: any, thousandsSeparator?: any, trailingMinusNumbers?: any, local?: any): void

テキスト ファイルを区切り方を指定して新しいブックとして開く。

Microsoft のリファレンス

VBA: OpenText

#
openXML(filename: string, stylesheets?: any, loadOption?: any): Workbook

XML データ ファイルを開く。

Microsoft のリファレンス

VBA: OpenXML

#
close(): void

開いているすべてのブックを閉じる。

Microsoft のリファレンス

VBA: Close

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Workbook

Excel のブックを表す。

Microsoft のリファレンス

#
readonly name: string

ブックのファイル名(パスなし)。

Microsoft のリファレンス

VBA: Name

#
readonly fullName: string

パスを含む完全なファイル名。

Microsoft のリファレンス

VBA: FullName

#
readonly path: string

ブックがあるフォルダーのパス。未保存なら空文字列。

Microsoft のリファレンス

VBA: Path

#
saved: boolean

最後の保存以降に変更がなければ true。true を代入すると変更なし扱いになる。

Microsoft のリファレンス

VBA: Saved

#
readonly readOnly: boolean

読み取り専用で開いているかどうか。

Microsoft のリファレンス

VBA: ReadOnly

#
readonly worksheets: Sheets<Worksheet>

ブック内のすべてのワークシート。

Microsoft のリファレンス

VBA: Worksheets

#
readonly sheets: Sheets

ブック内のすべてのシート(グラフ シートを含む)。

Microsoft のリファレンス

VBA: Sheets

#
readonly names: Names

ブックの名前定義のコレクション。

Microsoft のリファレンス

VBA: Names

#
readonly windows: Windows

ブックを表示しているウィンドウのコレクション。

Microsoft のリファレンス

VBA: Windows

#
readonly activeSheet: Worksheet | Chart

ブックでアクティブなシート。

Microsoft のリファレンス

VBA: ActiveSheet

#
save(): void

ブックを上書き保存する。

Microsoft のリファレンス

VBA: Save

#
saveAs(filename?: any, fileFormat?: any, password?: any, writeResPassword?: any, readOnlyRecommended?: any, createBackup?: any, accessMode?: XlSaveAsAccessMode, conflictResolution?: any, addToMru?: any, textCodepage?: any, textVisualLayout?: any, local?: any): void

別名または別形式で保存する。

Microsoft のリファレンス

VBA: SaveAs

#
saveCopyAs(filename: any): void

開いているブックはそのままに、コピーをファイルへ保存する。

Microsoft のリファレンス

VBA: SaveCopyAs

#
close(saveChanges?: any, filename?: any, routeWorkbook?: any): void

ブックを閉じる。

Microsoft のリファレンス

VBA: Close

#
activate(): void

ブックをアクティブにする。

Microsoft のリファレンス

VBA: Activate

#
protect(password?: any, structure?: any, windows?: any): void

ブックの構成やウィンドウを保護する。

Microsoft のリファレンス

VBA: Protect

#
unprotect(password?: any): void

ブックの保護を解除する。

Microsoft のリファレンス

VBA: Unprotect

#
refreshAll(): void

外部データ範囲とピボットテーブルをすべて更新する。

Microsoft のリファレンス

VBA: RefreshAll

#
readonly fileFormat: XlFileFormat

ブックのファイル形式。

Microsoft のリファレンス

VBA: FileFormat

#
readonly hasVBProject: boolean

VBA プロジェクトを持っているかどうか。

Microsoft のリファレンス

VBA: HasVBProject

#
readonly vbProject: object

ブックの VBA プロジェクト(VBIDE.VBProject)。

Microsoft のリファレンス

VBA: VBProject

#
readonly builtinDocumentProperties: object

組み込みのドキュメント プロパティ(作成者・タイトルなど)。

Microsoft のリファレンス

VBA: BuiltinDocumentProperties

#
readonly customDocumentProperties: object

ユーザー設定のドキュメント プロパティ。

Microsoft のリファレンス

VBA: CustomDocumentProperties

#
readonly application: Application

ブックが属する Application オブジェクト。

Microsoft のリファレンス

VBA: Application

#
readonly parent: object

親オブジェクト。

Microsoft のリファレンス

VBA: Parent

#
readonly codeName: string

ブック モジュールのコード名(既定は ThisWorkbook)。

Microsoft のリファレンス

VBA: CodeName

#
date1904: boolean

1904 年から計算する日付システムを使うかどうか。

Microsoft のリファレンス

VBA: Date1904

#
exportAsFixedFormat(type: XlFixedFormatType, filename?: any, quality?: any, includeDocProperties?: any, ignorePrintAreas?: any, from?: any, to?: any, openAfterPublish?: any, fixedFormatExtClassPtr?: any): void

PDF または XPS 形式で出力する。

Microsoft のリファレンス

VBA: ExportAsFixedFormat

#
printOut(from?: any, to?: any, copies?: any, preview?: any, activePrinter?: any, printToFile?: any, collate?: any, prToFileName?: any, ignorePrintAreas?: any): void

ブックを印刷する。

Microsoft のリファレンス

VBA: PrintOut

#
readonly connections: object

外部データ接続のコレクション。

Microsoft のリファレンス

VBA: Connections

#
readonly queries: object

Power Query のクエリのコレクション。

Microsoft のリファレンス

VBA: Queries

#
readonly activeChart: Chart

VBA: ActiveChart

#
readonly charts: Sheets<Chart>

VBA: Charts

#
readonly styles: object

VBA: Styles

#
readonly hasPassword: boolean

VBA: HasPassword

#
password: string

VBA: Password

#
readonly protectStructure: boolean

VBA: ProtectStructure

#
readonly protectWindows: boolean

VBA: ProtectWindows

#
readonly readOnlyRecommended: boolean

VBA: ReadOnlyRecommended

#
readonly multiUserEditing: boolean

VBA: MultiUserEditing

#
isAddin: boolean

VBA: IsAddin

VBA: UpdateLinks

#
precisionAsDisplayed: boolean

VBA: PrecisionAsDisplayed

#
checkCompatibility: boolean

VBA: CheckCompatibility

#
readonly writeReserved: boolean

VBA: WriteReserved

#
autoSaveOn: boolean

VBA: AutoSaveOn

#
colors(index?: any): any

VBA: Colors

#
newWindow(): Window

VBA: NewWindow

#
printPreview(enableChanges?: any): void

VBA: PrintPreview

#
changeFileAccess(mode: XlFileAccess, writePassword?: any, notify?: any): void

VBA: ChangeFileAccess

VBA: ChangeLink

VBA: BreakLink

#
linkSources(type?: any): any

VBA: LinkSources

VBA: UpdateLink

#
runAutoMacros(which: XlRunAutoMacro): void

VBA: RunAutoMacros

VBA: FollowHyperlink

#
deleteNumberFormat(numberFormat: string): void

VBA: DeleteNumberFormat

#
resetColors(): void

VBA: ResetColors

excel.d.ras

インターフェイス Excel.Sheets

interface Sheets<T = Worksheet | Chart>

ブック内のシート(ワークシート / グラフ シート)のコレクション。

Microsoft のリファレンス

#
(index: any): T

インデックスまたはシート名でシートを返す(既定メンバー)。

Microsoft のリファレンス

#
item(index: any): T

インデックスまたはシート名でシートを返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

シートの数。

Microsoft のリファレンス

VBA: Count

#
add(before?: any, after?: any, count?: any, type?: any): T

新しいシートを追加してアクティブにする。

Microsoft のリファレンス

VBA: Add

#
copy(before?: any, after?: any): void

シートをコピーする。位置を省略すると新しいブックに作られる。

Microsoft のリファレンス

VBA: Copy

#
move(before?: any, after?: any): void

シートを移動する。位置を省略すると新しいブックに移る。

Microsoft のリファレンス

VBA: Move

#
delete(): void

シートを削除する。

Microsoft のリファレンス

VBA: Delete

#
select(replace?: any): void

シートを選択する。

Microsoft のリファレンス

VBA: Select

#
printOut(from?: any, to?: any, copies?: any, preview?: any, activePrinter?: any, printToFile?: any, collate?: any, prToFileName?: any, ignorePrintAreas?: any): void

シートを印刷する。

Microsoft のリファレンス

VBA: PrintOut

#
visible: any

シートを表示するかどうか。

Microsoft のリファレンス

VBA: Visible

#
printPreview(enableChanges?: any): void

VBA: PrintPreview

#
fillAcrossSheets(range: Range, type?: XlFillWith): void

VBA: FillAcrossSheets

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Worksheet

ワークシートを表す。

Microsoft のリファレンス

#
name: string

シート名(シート見出しに表示される名前)。

Microsoft のリファレンス

VBA: Name

#
readonly codeName: string

シート モジュールのコード名。

Microsoft のリファレンス

VBA: CodeName

#
readonly index: int

シートの並び順での位置(1 始まり)。

Microsoft のリファレンス

VBA: Index

#
visible: XlSheetVisibility

シートの表示状態(表示 / 非表示 / ユーザーが再表示できない非表示)。

Microsoft のリファレンス

VBA: Visible

#
cells(row?: any, col?: any): Range

シート上のセルを返す。引数なしなら全セル。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Cells

#
range(cell1: any, cell2?: any): Range

セルまたはセル範囲を返す。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Range

#
rows(index?: any): Range

シートの行を返す。引数なしなら全行。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Rows

#
columns(index?: any): Range

シートの列を返す。引数なしなら全列。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Columns

#
readonly usedRange: Range

使用されているセル範囲。

Microsoft のリファレンス

VBA: UsedRange

#
activate(): void

シートをアクティブにする。

Microsoft のリファレンス

VBA: Activate

#
select(replace?: any): void

シートを選択する。

Microsoft のリファレンス

VBA: Select

#
copy(before?: any, after?: any): void

シートをコピーする。位置を省略すると新しいブックに作られる。

Microsoft のリファレンス

VBA: Copy

#
move(before?: any, after?: any): void

シートを移動する。位置を省略すると新しいブックに移る。

Microsoft のリファレンス

VBA: Move

#
delete(): void

シートを削除する。

Microsoft のリファレンス

VBA: Delete

#
protect(password?: any, drawingObjects?: any, contents?: any, scenarios?: any, userInterfaceOnly?: any, allowFormattingCells?: any, allowFormattingColumns?: any, allowFormattingRows?: any, allowInsertingColumns?: any, allowInsertingRows?: any, allowInsertingHyperlinks?: any, allowDeletingColumns?: any, allowDeletingRows?: any, allowSorting?: any, allowFiltering?: any, allowUsingPivotTables?: any): void

シートを保護する。

Microsoft のリファレンス

VBA: Protect

#
unprotect(password?: any): void

シートの保護を解除する。

Microsoft のリファレンス

VBA: Unprotect

#
readonly protectContents: boolean

シートの内容が保護されているかどうか。

Microsoft のリファレンス

VBA: ProtectContents

#
calculate(): void

このシートだけを再計算する。

Microsoft のリファレンス

VBA: Calculate

#
paste(destination?: any, link?: any): void

クリップボードの内容をシートに貼り付ける。

Microsoft のリファレンス

VBA: Paste

#
pasteSpecial(format?: any, link?: any, displayAsIcon?: any, iconFileName?: any, iconIndex?: any, iconLabel?: any, noHTMLFormatting?: any): void

クリップボードの内容を形式を指定して貼り付ける。

Microsoft のリファレンス

VBA: PasteSpecial

#
readonly shapes: Shapes

シート上の図形のコレクション。

Microsoft のリファレンス

VBA: Shapes

#
readonly listObjects: ListObjects

シート上のテーブルのコレクション。

Microsoft のリファレンス

VBA: ListObjects

#
chartObjects(index?: any): object

埋め込みグラフを 1 つ、または全体のコレクションを返す。

Microsoft のリファレンス

VBA: ChartObjects

#
readonly names: Names

シート レベルの名前定義のコレクション。

Microsoft のリファレンス

VBA: Names

シート上のハイパーリンクのコレクション。

Microsoft のリファレンス

VBA: Hyperlinks

#
readonly comments: Comments

シート上のコメント(メモ)のコレクション。

Microsoft のリファレンス

VBA: Comments

#
readonly pageSetup: PageSetup

ページ設定。

Microsoft のリファレンス

VBA: PageSetup

#
readonly autoFilter: AutoFilter

オートフィルターの設定。フィルターがなければ Nothing。

Microsoft のリファレンス

VBA: AutoFilter

#
autoFilterMode: boolean

オートフィルターの矢印が表示されているかどうか。false を代入するとフィルターを解除する。

Microsoft のリファレンス

VBA: AutoFilterMode

#
readonly filterMode: boolean

フィルターで絞り込まれた状態かどうか。

Microsoft のリファレンス

VBA: FilterMode

#
showAllData(): void

フィルターによる絞り込みを解除してすべての行を表示する。

Microsoft のリファレンス

VBA: ShowAllData

#
readonly tab: object

シート見出し(色など)。

Microsoft のリファレンス

VBA: Tab

#
readonly parent: object

親オブジェクト(通常はブック)。

Microsoft のリファレンス

VBA: Parent

#
readonly application: Application

シートが属する Application オブジェクト。

Microsoft のリファレンス

VBA: Application

#
evaluate(name: any): cellValue

名前や数式の文字列を、このシートを基準に評価する。

Microsoft のリファレンス

VBA: Evaluate

#
printOut(from?: any, to?: any, copies?: any, preview?: any, activePrinter?: any, printToFile?: any, collate?: any, prToFileName?: any, ignorePrintAreas?: any): void

シートを印刷する。

Microsoft のリファレンス

VBA: PrintOut

#
exportAsFixedFormat(type: XlFixedFormatType, filename?: any, quality?: any, includeDocProperties?: any, ignorePrintAreas?: any, from?: any, to?: any, openAfterPublish?: any, fixedFormatExtClassPtr?: any): void

PDF または XPS 形式で出力する。

Microsoft のリファレンス

VBA: ExportAsFixedFormat

#
enableCalculation: boolean

このシートを自動再計算の対象にするかどうか。

Microsoft のリファレンス

VBA: EnableCalculation

#
standardWidth: double

列の標準の幅。

Microsoft のリファレンス

VBA: StandardWidth

#
readonly next: Worksheet | Chart

次のシート。最後のシートでは Nothing。

Microsoft のリファレンス

VBA: Next

#
readonly previous: Worksheet | Chart

前のシート。最初のシートでは Nothing。

Microsoft のリファレンス

VBA: Previous

#
readonly sort: Sort

シートの並べ替え設定。

Microsoft のリファレンス

VBA: Sort

#
readonly type: XlSheetType

VBA: Type

#
readonly standardHeight: double

VBA: StandardHeight

#
readonly circularReference: Range

VBA: CircularReference

#
readonly protectionMode: boolean

VBA: ProtectionMode

#
readonly protectDrawingObjects: boolean

VBA: ProtectDrawingObjects

#
readonly protectScenarios: boolean

VBA: ProtectScenarios

#
readonly outline: object

VBA: Outline

#
readonly queryTables: object

VBA: QueryTables

#
readonly hPageBreaks: object

VBA: HPageBreaks

#
readonly vPageBreaks: object

VBA: VPageBreaks

#
scrollArea: string

VBA: ScrollArea

#
displayPageBreaks: boolean

VBA: DisplayPageBreaks

#
enableSelection: XlEnableSelection

VBA: EnableSelection

#
enableAutoFilter: boolean

VBA: EnableAutoFilter

#
enableOutlining: boolean

VBA: EnableOutlining

#
enablePivotTable: boolean

VBA: EnablePivotTable

#
pivotTables(index?: any): object

VBA: PivotTables

#
oleObjects(index?: any): object

VBA: OLEObjects

#
printPreview(enableChanges?: any): void

VBA: PrintPreview

#
saveAs(filename: string, fileFormat?: any, password?: any, writeResPassword?: any, readOnlyRecommended?: any, createBackup?: any, addToMru?: any, textCodepage?: any, textVisualLayout?: any, local?: any): void

VBA: SaveAs

#
setBackgroundPicture(filename: string): void

VBA: SetBackgroundPicture

#
resetAllPageBreaks(): void

VBA: ResetAllPageBreaks

#
checkSpelling(customDictionary?: any, ignoreUppercase?: any, alwaysSuggest?: any, spellLang?: any): void

VBA: CheckSpelling

excel.d.ras

インターフェイス Excel.Range

セル、行、列、または複数セルからなる範囲を表す。

Microsoft のリファレンス

#
(row: any, col?: any): Range

既定メンバー(Item)。rng(1, 2) の形で、範囲の左上を基準にしたセルを返す。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

#
item(rowIndex: any, columnIndex?: any): Range

範囲の左上を基準にした位置のセルを返す。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Item

#
value: cellValue

セルの値。複数セルの範囲では 2 次元配列(1 始まり)を読み書きする。セルのエラー値(#N/A など)のことがある。

Microsoft のリファレンス

VBA: Value

#
value2: cellValue

通貨型・日付型に変換しない生の値。日付はシリアル値(Double)になる。セルのエラー値(#N/A など)のことがある。

Microsoft のリファレンス

VBA: Value2

#
formula: any

A1 形式の数式。数式でないセルでは値そのもの。

Microsoft のリファレンス

VBA: Formula

#
formulaR1C1: any

R1C1 形式の数式。

Microsoft のリファレンス

VBA: FormulaR1C1

#
formula2: any

動的配列に対応した A1 形式の数式。

Microsoft のリファレンス

VBA: Formula2

#
readonly text: any

セルに表示されている文字列(書式適用後)。

Microsoft のリファレンス

VBA: Text

#
address(rowAbsolute?: any, columnAbsolute?: any, referenceStyle?: XlReferenceStyle, external?: any, relativeTo?: any): string

範囲の参照を文字列で返す(既定は $A$1 形式)。

Microsoft のリファレンス

VBA: Address

#
readonly row: int

範囲の先頭行の行番号。

Microsoft のリファレンス

VBA: Row

#
readonly column: int

範囲の先頭列の列番号。

Microsoft のリファレンス

VBA: Column

#
rows(index?: any): Range

範囲内の行を返す。引数なしなら行の集まりとしての範囲。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Rows

#
columns(index?: any): Range

範囲内の列を返す。引数なしなら列の集まりとしての範囲。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Columns

#
readonly count: int

セル(または行・列)の数。生成される VBA では CountLarge を参照する(Count は Long の上限を超える範囲、たとえばシート全体の cells でエラーになるため)。

Microsoft のリファレンス

VBA: CountLarge

#
readonly countLarge: any

セルの数。シート全体のような大きな範囲でも数えられる。

Microsoft のリファレンス

VBA: CountLarge

#
cells(row?: any, col?: any): Range

範囲内のセルを返す。引数なしなら範囲そのもの。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Cells

#
offset(rowOffset?: any, columnOffset?: any): Range

指定した行数・列数だけずらした範囲を返す。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Offset

#
resize(rowSize?: any, columnSize?: any): Range

左上を固定したまま、行数・列数を変えた範囲を返す。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Resize

#
end(direction: XlDirection): Range

データが連続する領域の端のセルを返す(Ctrl+方向キーに相当)。

Microsoft のリファレンス

VBA: End

#
readonly entireRow: Range

範囲を含む行全体。

Microsoft のリファレンス

VBA: EntireRow

#
readonly entireColumn: Range

範囲を含む列全体。

Microsoft のリファレンス

VBA: EntireColumn

#
readonly currentRegion: Range

空白行と空白列で囲まれた、データの連続する領域。

Microsoft のリファレンス

VBA: CurrentRegion

#
readonly areas: object

複数選択された範囲の各領域のコレクション。

Microsoft のリファレンス

VBA: Areas

#
readonly worksheet: Worksheet

範囲があるワークシート。

Microsoft のリファレンス

VBA: Worksheet

#
readonly parent: object

親オブジェクト(通常はワークシート)。

Microsoft のリファレンス

VBA: Parent

#
readonly application: Application

範囲が属する Application オブジェクト。

Microsoft のリファレンス

VBA: Application

#
readonly font: Font

フォントの書式。

Microsoft のリファレンス

VBA: Font

#
readonly interior: Interior

塗りつぶしの書式。

Microsoft のリファレンス

VBA: Interior

#
readonly borders: Borders

罫線のコレクション。

Microsoft のリファレンス

VBA: Borders

#
numberFormat: any

表示形式(書式記号は英語版の表記)。

Microsoft のリファレンス

VBA: NumberFormat

#
numberFormatLocal: any

表示形式(書式記号は実行環境の言語の表記)。

Microsoft のリファレンス

VBA: NumberFormatLocal

#
horizontalAlignment: any

横方向の配置。

Microsoft のリファレンス

VBA: HorizontalAlignment

#
verticalAlignment: any

縦方向の配置。

Microsoft のリファレンス

VBA: VerticalAlignment

#
wrapText: any

セル内で折り返して全体を表示するかどうか。

Microsoft のリファレンス

VBA: WrapText

#
mergeCells: any

結合セルを含むかどうか。

Microsoft のリファレンス

VBA: MergeCells

#
readonly mergeArea: Range

指定したセルを含む結合範囲。結合されていなければそのセル自身。

Microsoft のリファレンス

VBA: MergeArea

#
merge(across?: any): void

セルを結合する。

Microsoft のリファレンス

VBA: Merge

#
unMerge(): void

セルの結合を解除する。

Microsoft のリファレンス

VBA: UnMerge

#
columnWidth: any

列の幅(標準フォントの文字数単位)。

Microsoft のリファレンス

VBA: ColumnWidth

#
rowHeight: any

行の高さ(ポイント)。

Microsoft のリファレンス

VBA: RowHeight

#
readonly height: any

範囲の高さ(ポイント)。

Microsoft のリファレンス

VBA: Height

#
readonly width: any

範囲の幅(ポイント)。

Microsoft のリファレンス

VBA: Width

#
readonly left: any

シート左端から範囲の左端までの距離(ポイント)。

Microsoft のリファレンス

VBA: Left

#
readonly top: any

シート上端から範囲の上端までの距離(ポイント)。

Microsoft のリファレンス

VBA: Top

#
hidden: any

行または列が非表示かどうか。行全体・列全体の範囲に対して使う。

Microsoft のリファレンス

VBA: Hidden

#
locked: any

セルがロックされているかどうか。

Microsoft のリファレンス

VBA: Locked

#
readonly hasFormula: any

数式が入っているかどうか。

Microsoft のリファレンス

VBA: HasFormula

#
name: any

範囲に付けられた名前(Name オブジェクト)。文字列を代入すると名前を定義する。

Microsoft のリファレンス

VBA: Name

#
readonly comment: Comment

セルに付いているコメント(メモ)。なければ Nothing。

Microsoft のリファレンス

VBA: Comment

#
readonly validation: Validation

入力規則。

Microsoft のリファレンス

VBA: Validation

範囲内のハイパーリンクのコレクション。

Microsoft のリファレンス

VBA: Hyperlinks

#
readonly listObject: ListObject

範囲が属するテーブル。テーブル外なら Nothing。

Microsoft のリファレンス

VBA: ListObject

#
find(what: any, after?: any, lookIn?: any, lookAt?: any, searchOrder?: any, searchDirection?: XlSearchDirection, matchCase?: any, matchByte?: any, searchFormat?: any): Range

条件に一致する最初のセルを返す。見つからなければ Nothing。検索設定は次回に持ち越される。

Microsoft のリファレンス

VBA: Find

#
findNext(after?: any): Range

Find と同じ条件で次のセルを検索する。

Microsoft のリファレンス

VBA: FindNext

#
findPrevious(after?: any): Range

Find と同じ条件で前のセルを検索する。

Microsoft のリファレンス

VBA: FindPrevious

#
replace(what: any, replacement: any, lookAt?: any, searchOrder?: any, matchCase?: any, matchByte?: any, searchFormat?: any, replaceFormat?: any, formulaVersion?: any): boolean

範囲内の文字列を置換する。

Microsoft のリファレンス

VBA: Replace

#
copy(destination?: any): void

範囲をコピーする。貼り付け先を省略するとクリップボードへコピーする。

Microsoft のリファレンス

VBA: Copy

#
cut(destination?: any): void

範囲を切り取る。貼り付け先を省略するとクリップボードへ切り取る。

Microsoft のリファレンス

VBA: Cut

#
pasteSpecial(paste?: XlPasteType, operation?: XlPasteSpecialOperation, skipBlanks?: any, transpose?: any): void

クリップボードの内容を、貼り付ける要素(値・書式など)を指定して貼り付ける。

Microsoft のリファレンス

VBA: PasteSpecial

#
clear(): void

値・数式・書式をすべて消去する。

Microsoft のリファレンス

VBA: Clear

#
clearContents(): void

値と数式だけを消去する(書式は残る)。

Microsoft のリファレンス

VBA: ClearContents

#
clearFormats(): void

書式だけを消去する。

Microsoft のリファレンス

VBA: ClearFormats

#
clearComments(): void

コメント(メモ)を消去する。

Microsoft のリファレンス

VBA: ClearComments

#
delete(shift?: any): void

セルを削除して詰める。

Microsoft のリファレンス

VBA: Delete

#
insert(shift?: any, copyOrigin?: any): void

空白セルを挿入して既存のセルをずらす。

Microsoft のリファレンス

VBA: Insert

#
select(): void

範囲を選択する。

Microsoft のリファレンス

VBA: Select

#
activate(): void

セルをアクティブにする。

Microsoft のリファレンス

VBA: Activate

#
autoFit(): void

内容に合わせて列幅または行の高さを自動調整する。行全体・列全体の範囲に対して使う。

Microsoft のリファレンス

VBA: AutoFit

#
autoFill(destination: Range, type?: XlAutoFillType): void

オートフィルを実行する。destination は元の範囲を含む必要がある。

Microsoft のリファレンス

VBA: AutoFill

#
autoFilter(field?: any, criteria1?: any, operator?: XlAutoFilterOperator, criteria2?: any, visibleDropDown?: any): void

オートフィルターで絞り込む。引数をすべて省略するとフィルターの矢印を切り替える。

Microsoft のリファレンス

VBA: AutoFilter

#
sort(key1?: any, order1?: XlSortOrder, key2?: any, type?: any, order2?: XlSortOrder, key3?: any, order3?: XlSortOrder, header?: XlYesNoGuess, orderCustom?: any, matchCase?: any, orientation?: XlSortOrientation, sortMethod?: XlSortMethod, dataOption1?: XlSortDataOption, dataOption2?: XlSortDataOption, dataOption3?: XlSortDataOption): void

範囲を並べ替える(キーは 3 つまで)。

Microsoft のリファレンス

VBA: Sort

#
removeDuplicates(columns?: any, header?: XlYesNoGuess): void

重複する行を削除する。columns には比較する列番号の配列を渡す。

Microsoft のリファレンス

VBA: RemoveDuplicates

#
specialCells(type: XlCellType, value?: any): Range

空白セル・可視セル・定数セルなど、種類に一致するセルを返す。該当がないと実行時エラーになる。

Microsoft のリファレンス

VBA: SpecialCells

#
fillDown(): void

範囲の先頭行の内容を下方向へコピーする。

Microsoft のリファレンス

VBA: FillDown

#
fillRight(): void

範囲の先頭列の内容を右方向へコピーする。

Microsoft のリファレンス

VBA: FillRight

#
textToColumns(destination?: any, dataType?: XlTextParsingType, textQualifier?: XlTextQualifier, consecutiveDelimiter?: any, tab?: any, semicolon?: any, comma?: any, space?: any, other?: any, otherChar?: any, fieldInfo?: any, decimalSeparator?: any, thousandsSeparator?: any, trailingMinusNumbers?: any): void

1 列の文字列を区切って複数の列に分割する。

Microsoft のリファレンス

VBA: TextToColumns

#
calculate(): void

この範囲だけを再計算する。

Microsoft のリファレンス

VBA: Calculate

#
addComment(text?: any): Comment

セルにコメント(メモ)を追加する。

Microsoft のリファレンス

VBA: AddComment

#
characters(start?: any, length?: any): Characters

セル内の文字列の一部を表す Characters を返す(文字単位の書式設定用)。

Microsoft のリファレンス

VBA: Characters

#
borderAround(lineStyle?: any, weight?: XlBorderWeight, colorIndex?: XlColorIndex, color?: any, themeColor?: any): void

範囲の外周に罫線を引く。

Microsoft のリファレンス

VBA: BorderAround

#
range(cell1: any, cell2?: any): Range

この範囲を基準にした相対参照でセル範囲を返す。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

VBA: Range

#
addressLocal(rowAbsolute?: any, columnAbsolute?: any, referenceStyle?: XlReferenceStyle, external?: any, relativeTo?: any): string

VBA: AddressLocal

#
formulaLocal: any

VBA: FormulaLocal

#
formulaR1C1Local: any

VBA: FormulaR1C1Local

#
formulaArray: any

VBA: FormulaArray

#
formulaHidden: any

VBA: FormulaHidden

#
readonly hasArray: any

VBA: HasArray

#
readonly currentArray: Range

VBA: CurrentArray

#
indentLevel: any

VBA: IndentLevel

#
orientation: any

VBA: Orientation

#
shrinkToFit: any

VBA: ShrinkToFit

#
addIndent: any

VBA: AddIndent

#
style: any

VBA: Style

#
id: string

VBA: ID

#
pageBreak: int

VBA: PageBreak

#
outlineLevel: any

VBA: OutlineLevel

#
showDetail: any

VBA: ShowDetail

#
useStandardHeight: any

VBA: UseStandardHeight

#
useStandardWidth: any

VBA: UseStandardWidth

#
readonly prefixCharacter: any

VBA: PrefixCharacter

#
readonly next: Range

VBA: Next

#
readonly previous: Range

VBA: Previous

#
readonly dependents: Range

VBA: Dependents

#
readonly directDependents: Range

VBA: DirectDependents

#
readonly precedents: Range

VBA: Precedents

#
readonly directPrecedents: Range

VBA: DirectPrecedents

#
readonly formatConditions: FormatConditions

VBA: FormatConditions

#
readonly displayFormat: object

VBA: DisplayFormat

#
readonly pivotTable: object

VBA: PivotTable

#
readonly queryTable: object

VBA: QueryTable

#
clearNotes(): void

VBA: ClearNotes

#
clearOutline(): void

VBA: ClearOutline

VBA: ClearHyperlinks

#
fillUp(): void

VBA: FillUp

#
fillLeft(): void

VBA: FillLeft

#
justify(): void

VBA: Justify

#
show(): void

VBA: Show

#
dirty(): void

VBA: Dirty

#
columnDifferences(comparison: any): Range

VBA: ColumnDifferences

#
rowDifferences(comparison: any): Range

VBA: RowDifferences

#
copyFromRecordset(data: object, maxRows?: any, maxColumns?: any): int

VBA: CopyFromRecordset

#
copyPicture(appearance?: XlPictureAppearance, format?: XlCopyPictureFormat): void

VBA: CopyPicture

#
noteText(text?: any, start?: any, length?: any): string

VBA: NoteText

#
group(start?: any, end?: any, by?: any, periods?: any): void

VBA: Group

#
ungroup(): void

VBA: Ungroup

#
subtotal(groupBy: int, func: XlConsolidationFunction, totalList: any, replace?: any, pageBreaks?: any, summaryBelowData?: XlSummaryRow): void

VBA: Subtotal

#
removeSubtotal(): void

VBA: RemoveSubtotal

#
advancedFilter(action: XlFilterAction, criteriaRange?: any, copyToRange?: any, unique?: any): void

VBA: AdvancedFilter

#
printOut(from?: any, to?: any, copies?: any, preview?: any, activePrinter?: any, printToFile?: any, collate?: any, prToFileName?: any): void

VBA: PrintOut

#
printPreview(enableChanges?: any): void

VBA: PrintPreview

#
exportAsFixedFormat(type: XlFixedFormatType, filename?: any, quality?: any, includeDocProperties?: any, ignorePrintAreas?: any, from?: any, to?: any, openAfterPublish?: any, fixedFormatExtClassPtr?: any): void

VBA: ExportAsFixedFormat

#
checkSpelling(customDictionary?: any, ignoreUppercase?: any, alwaysSuggest?: any, spellLang?: any): any

VBA: CheckSpelling

excel.d.ras

インターフェイス Excel.Font

文字の書式(フォント名・サイズ・色など)を表す。

Microsoft のリファレンス

#
name: any

フォント名。

Microsoft のリファレンス

VBA: Name

#
size: any

フォント サイズ(ポイント)。

Microsoft のリファレンス

VBA: Size

#
bold: any

太字かどうか。

Microsoft のリファレンス

VBA: Bold

#
italic: any

斜体かどうか。

Microsoft のリファレンス

VBA: Italic

#
underline: any

下線の種類。

Microsoft のリファレンス

VBA: Underline

#
strikethrough: any

取り消し線を付けるかどうか。

Microsoft のリファレンス

VBA: Strikethrough

#
color: any

文字色(RGB 値)。

Microsoft のリファレンス

VBA: Color

#
colorIndex: any

文字色(カラー パレットのインデックス)。

Microsoft のリファレンス

VBA: ColorIndex

#
themeColor: any

テーマの配色での文字色。

Microsoft のリファレンス

VBA: ThemeColor

#
tintAndShade: any

色の明るさの調整(-1 ~ 1)。

Microsoft のリファレンス

VBA: TintAndShade

#
fontStyle: any

フォント スタイルの名前("太字 斜体" など)。

Microsoft のリファレンス

VBA: FontStyle

#
subscript: any

VBA: Subscript

#
superscript: any

VBA: Superscript

#
background: any

VBA: Background

#
themeFont: XlThemeFont

VBA: ThemeFont

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Interior

セルや図形の塗りつぶしを表す。

Microsoft のリファレンス

#
color: any

塗りつぶしの色(RGB 値)。

Microsoft のリファレンス

VBA: Color

#
colorIndex: any

塗りつぶしの色(カラー パレットのインデックス)。xlColorIndexNone で塗りつぶしなし。

Microsoft のリファレンス

VBA: ColorIndex

#
pattern: any

塗りつぶしのパターン。

Microsoft のリファレンス

VBA: Pattern

#
patternColor: any

パターンの色(RGB 値)。

Microsoft のリファレンス

VBA: PatternColor

#
patternColorIndex: any

パターンの色(カラー パレットのインデックス)。

Microsoft のリファレンス

VBA: PatternColorIndex

#
themeColor: any

テーマの配色での塗りつぶし色。

Microsoft のリファレンス

VBA: ThemeColor

#
tintAndShade: any

色の明るさの調整(-1 ~ 1)。

Microsoft のリファレンス

VBA: TintAndShade

#
patternThemeColor: any

VBA: PatternThemeColor

#
patternTintAndShade: any

VBA: PatternTintAndShade

#
invertIfNegative: any

VBA: InvertIfNegative

#
readonly gradient: object

VBA: Gradient

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Borders

セル範囲の罫線(上下左右・内側・斜め)のコレクション。

Microsoft のリファレンス

#
(index: XlBordersIndex): Border

位置を指定して罫線を返す(既定メンバー)。

Microsoft のリファレンス

#
item(index: XlBordersIndex): Border

位置を指定して罫線を返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

罫線の数。

Microsoft のリファレンス

VBA: Count

#
color: any

すべての罫線の色(RGB 値)。

Microsoft のリファレンス

VBA: Color

#
colorIndex: any

すべての罫線の色(カラー パレットのインデックス)。

Microsoft のリファレンス

VBA: ColorIndex

#
lineStyle: any

すべての罫線の線種。

Microsoft のリファレンス

VBA: LineStyle

#
weight: any

すべての罫線の太さ。

Microsoft のリファレンス

VBA: Weight

#
value: any

VBA: Value

#
themeColor: any

VBA: ThemeColor

#
tintAndShade: any

VBA: TintAndShade

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Border

1 本の罫線を表す。

Microsoft のリファレンス

#
color: any

罫線の色(RGB 値)。

Microsoft のリファレンス

VBA: Color

#
colorIndex: any

罫線の色(カラー パレットのインデックス)。

Microsoft のリファレンス

VBA: ColorIndex

#
lineStyle: any

罫線の線種。xlLineStyleNone で罫線なし。

Microsoft のリファレンス

VBA: LineStyle

#
weight: any

罫線の太さ。

Microsoft のリファレンス

VBA: Weight

#
themeColor: any

VBA: ThemeColor

#
tintAndShade: any

VBA: TintAndShade

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Characters

セルや図形内の文字列の一部を表す。

Microsoft のリファレンス

#
text: string

対象部分の文字列。

Microsoft のリファレンス

VBA: Text

#
readonly count: int

文字数。

Microsoft のリファレンス

VBA: Count

#
readonly font: Font

対象部分のフォント書式。

Microsoft のリファレンス

VBA: Font

#
insert(str: string): void

対象部分の文字列を挿入した文字列で置き換える。

Microsoft のリファレンス

VBA: Insert

#
delete(): void

対象部分の文字を削除する。

Microsoft のリファレンス

VBA: Delete

#
caption: string

VBA: Caption

#
phoneticCharacters: string

VBA: PhoneticCharacters

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Comment

セルのコメント(メモ)を表す。

Microsoft のリファレンス

#
text(text?: any, start?: any, overwrite?: any): string

コメントの文字列を取得または設定する。

Microsoft のリファレンス

VBA: Text

#
readonly author: string

コメントの作成者。

Microsoft のリファレンス

VBA: Author

#
readonly shape: Shape

コメントの枠を表す図形。

Microsoft のリファレンス

VBA: Shape

#
visible: boolean

コメントを常に表示するかどうか。

Microsoft のリファレンス

VBA: Visible

#
delete(): void

コメントを削除する。

Microsoft のリファレンス

VBA: Delete

#
next(): Comment

VBA: Next

#
previous(): Comment

VBA: Previous

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Comments

シート上のコメント(メモ)のコレクション。

Microsoft のリファレンス

#
(index: any): Comment

インデックスでコメントを返す(既定メンバー)。

Microsoft のリファレンス

#
item(index: any): Comment

インデックスでコメントを返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

コメントの数。

Microsoft のリファレンス

VBA: Count

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Validation

セル範囲の入力規則を表す。

Microsoft のリファレンス

#
add(type: XlDVType, alertStyle?: any, operator?: any, formula1?: any, formula2?: any): void

入力規則を追加する。既に規則がある場合は先に Delete する。

Microsoft のリファレンス

VBA: Add

#
modify(type?: any, alertStyle?: any, operator?: any, formula1?: any, formula2?: any): void

既存の入力規則を変更する。

Microsoft のリファレンス

VBA: Modify

#
delete(): void

入力規則を削除する。

Microsoft のリファレンス

VBA: Delete

#
readonly type: int

入力規則の種類(XlDVType の値)。

Microsoft のリファレンス

VBA: Type

#
readonly formula1: string

条件の 1 つ目の値または数式。

Microsoft のリファレンス

VBA: Formula1

#
readonly formula2: string

条件の 2 つ目の値または数式。

Microsoft のリファレンス

VBA: Formula2

#
ignoreBlank: boolean

空白を許可するかどうか。

Microsoft のリファレンス

VBA: IgnoreBlank

#
inCellDropdown: boolean

リスト形式でドロップダウンを表示するかどうか。

Microsoft のリファレンス

VBA: InCellDropdown

#
inputMessage: string

入力時メッセージの本文。

Microsoft のリファレンス

VBA: InputMessage

#
errorMessage: string

エラー メッセージの本文。

Microsoft のリファレンス

VBA: ErrorMessage

#
readonly alertStyle: int

VBA: AlertStyle

#
readonly operator: int

VBA: Operator

#
readonly value: boolean

VBA: Value

#
showInput: boolean

VBA: ShowInput

#
showError: boolean

VBA: ShowError

#
inputTitle: string

VBA: InputTitle

#
errorTitle: string

VBA: ErrorTitle

#
imeMode: int

VBA: IMEMode

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Names

名前定義(名前付き範囲)のコレクション。

Microsoft のリファレンス

#
(index: any, indexLocal?: any, refersTo?: any): Name

インデックスまたは名前で Name を返す(既定メンバー)。

Microsoft のリファレンス

#
item(index?: any, indexLocal?: any, refersTo?: any): Name

インデックスまたは名前で Name を返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

名前定義の数。

Microsoft のリファレンス

VBA: Count

#
add(name?: any, refersTo?: any, visible?: any, macroType?: any, shortcutKey?: any, category?: any, nameLocal?: any, refersToLocal?: any, categoryLocal?: any, refersToR1C1?: any, refersToR1C1Local?: any): Name

名前を定義する。

Microsoft のリファレンス

VBA: Add

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Name

名前定義(名前付き範囲)を表す。

Microsoft のリファレンス

#
name: string

定義された名前。

Microsoft のリファレンス

VBA: Name

#
refersTo: any

参照先を表す数式(=Sheet1!$A$1 の形式)。

Microsoft のリファレンス

VBA: RefersTo

#
readonly refersToRange: Range

参照先のセル範囲。参照先が範囲でなければ実行時エラーになる。

Microsoft のリファレンス

VBA: RefersToRange

#
visible: boolean

名前の管理に表示するかどうか。

Microsoft のリファレンス

VBA: Visible

#
delete(): void

名前定義を削除する。

Microsoft のリファレンス

VBA: Delete

#
nameLocal: string

VBA: NameLocal

#
refersToLocal: any

VBA: RefersToLocal

#
refersToR1C1: any

VBA: RefersToR1C1

#
refersToR1C1Local: any

VBA: RefersToR1C1Local

#
value: string

VBA: Value

#
comment: string

VBA: Comment

#
readonly index: int

VBA: Index

#
readonly application: Application

VBA: Application

#
readonly parent: Workbook | Worksheet

VBA: Parent

excel.d.ras

インターフェイス Excel.Windows

ウィンドウのコレクション。

Microsoft のリファレンス

#
(index: any): Window

インデックスまたはキャプションでウィンドウを返す(既定メンバー)。

Microsoft のリファレンス

#
item(index: any): Window

インデックスまたはキャプションでウィンドウを返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

ウィンドウの数。

Microsoft のリファレンス

VBA: Count

#
arrange(arrangeStyle?: XlArrangeStyle, activeWorkbook?: any, syncHorizontal?: any, syncVertical?: any): void

ウィンドウを整列する。

Microsoft のリファレンス

VBA: Arrange

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Window

ブックを表示するウィンドウを表す。

Microsoft のリファレンス

#
activate(): void

ウィンドウをアクティブにする。

Microsoft のリファレンス

VBA: Activate

#
close(saveChanges?: any, filename?: any, routeWorkbook?: any): boolean

ウィンドウを閉じる。

Microsoft のリファレンス

VBA: Close

#
caption: any

ウィンドウのタイトル。

Microsoft のリファレンス

VBA: Caption

#
windowState: XlWindowState

ウィンドウの状態(最大化 / 最小化 / 標準)。

Microsoft のリファレンス

VBA: WindowState

#
visible: boolean

ウィンドウを表示するかどうか。

Microsoft のリファレンス

VBA: Visible

#
freezePanes: boolean

ウィンドウ枠を固定するかどうか。

Microsoft のリファレンス

VBA: FreezePanes

#
zoom: any

表示倍率(パーセント)。

Microsoft のリファレンス

VBA: Zoom

#
displayGridlines: boolean

枠線(目盛線)を表示するかどうか。

Microsoft のリファレンス

VBA: DisplayGridlines

#
displayHeadings: boolean

行番号と列番号を表示するかどうか。

Microsoft のリファレンス

VBA: DisplayHeadings

#
displayFormulas: boolean

値の代わりに数式を表示するかどうか。

Microsoft のリファレンス

VBA: DisplayFormulas

#
displayZeros: boolean

ゼロ値を表示するかどうか。

Microsoft のリファレンス

VBA: DisplayZeros

#
scrollRow: int

ウィンドウの左上に表示する行の番号。

Microsoft のリファレンス

VBA: ScrollRow

#
scrollColumn: int

ウィンドウの左上に表示する列の番号。

Microsoft のリファレンス

VBA: ScrollColumn

#
readonly visibleRange: Range

ウィンドウに見えているセル範囲。

Microsoft のリファレンス

VBA: VisibleRange

#
readonly activeCell: Range

ウィンドウでアクティブなセル。

Microsoft のリファレンス

VBA: ActiveCell

#
readonly activeSheet: Worksheet | Chart

ウィンドウでアクティブなシート。

Microsoft のリファレンス

VBA: ActiveSheet

#
readonly selectedSheets: Sheets

ウィンドウで選択されているシート。

Microsoft のリファレンス

VBA: SelectedSheets

#
readonly selection: object

ウィンドウで選択されているオブジェクト。

Microsoft のリファレンス

VBA: Selection

#
view: XlWindowView

表示モード(標準 / 改ページ プレビュー / ページ レイアウト)。

Microsoft のリファレンス

VBA: View

#
readonly rangeSelection: Range

VBA: RangeSelection

#
readonly activeChart: Chart

VBA: ActiveChart

#
readonly index: int

VBA: Index

#
readonly windowNumber: int

VBA: WindowNumber

#
readonly type: XlWindowType

VBA: Type

#
readonly hwnd: int

VBA: Hwnd

#
width: double

VBA: Width

#
height: double

VBA: Height

#
left: double

VBA: Left

#
top: double

VBA: Top

#
readonly usableWidth: double

VBA: UsableWidth

#
readonly usableHeight: double

VBA: UsableHeight

#
split: boolean

VBA: Split

#
splitRow: int

VBA: SplitRow

#
splitColumn: int

VBA: SplitColumn

#
splitHorizontal: double

VBA: SplitHorizontal

#
splitVertical: double

VBA: SplitVertical

#
tabRatio: double

VBA: TabRatio

#
gridlineColor: int

VBA: GridlineColor

#
gridlineColorIndex: XlColorIndex

VBA: GridlineColorIndex

#
displayHorizontalScrollBar: boolean

VBA: DisplayHorizontalScrollBar

#
displayVerticalScrollBar: boolean

VBA: DisplayVerticalScrollBar

#
displayWorkbookTabs: boolean

VBA: DisplayWorkbookTabs

#
displayOutline: boolean

VBA: DisplayOutline

#
enableResize: boolean

VBA: EnableResize

#
activateNext(): void

VBA: ActivateNext

#
activatePrevious(): void

VBA: ActivatePrevious

#
newWindow(): Window

VBA: NewWindow

#
largeScroll(down?: any, up?: any, toRight?: any, toLeft?: any): void

VBA: LargeScroll

#
smallScroll(down?: any, up?: any, toRight?: any, toLeft?: any): void

VBA: SmallScroll

#
scrollIntoView(left: int, top: int, width: int, height: int, start?: any): void

VBA: ScrollIntoView

#
pointsToScreenPixelsX(points: int): int

VBA: PointsToScreenPixelsX

#
pointsToScreenPixelsY(points: int): int

VBA: PointsToScreenPixelsY

#
rangeFromPoint(x: int, y: int): Range | Shape

画面上の座標にある図形またはセル範囲。どちらもなければ Nothing。

Microsoft のリファレンス

VBA: RangeFromPoint

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.ListObjects

ワークシート上のテーブルのコレクション。

Microsoft のリファレンス

#
(index: any): ListObject

インデックスまたはテーブル名でテーブルを返す(既定メンバー)。

Microsoft のリファレンス

#
item(index: any): ListObject

インデックスまたはテーブル名でテーブルを返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

テーブルの数。

Microsoft のリファレンス

VBA: Count

#
add(sourceType?: XlListObjectSourceType, source?: any, linkSource?: any, xlListObjectHasHeaders?: XlYesNoGuess, destination?: any, tableStyleName?: any): ListObject

セル範囲などからテーブルを作成する。

Microsoft のリファレンス

VBA: Add

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.ListObject

ワークシート上のテーブルを表す。

Microsoft のリファレンス

#
name: string

テーブル名。

Microsoft のリファレンス

VBA: Name

#
readonly range: Range

見出し行と集計行を含むテーブル全体の範囲。

Microsoft のリファレンス

VBA: Range

#
readonly dataBodyRange: Range

データ部分の範囲。データ行がなければ Nothing。

Microsoft のリファレンス

VBA: DataBodyRange

#
readonly headerRowRange: Range

見出し行の範囲。

Microsoft のリファレンス

VBA: HeaderRowRange

#
readonly totalsRowRange: Range

集計行の範囲。集計行が非表示なら Nothing。

Microsoft のリファレンス

VBA: TotalsRowRange

#
readonly listColumns: ListColumns

テーブルの列のコレクション。

Microsoft のリファレンス

VBA: ListColumns

#
readonly listRows: ListRows

テーブルの行のコレクション。

Microsoft のリファレンス

VBA: ListRows

#
showHeaders: boolean

見出し行を表示するかどうか。

Microsoft のリファレンス

VBA: ShowHeaders

#
showTotals: boolean

集計行を表示するかどうか。

Microsoft のリファレンス

VBA: ShowTotals

#
showAutoFilter: boolean

オートフィルターを表示するかどうか。

Microsoft のリファレンス

VBA: ShowAutoFilter

#
tableStyle: any

テーブルに適用するスタイル。

Microsoft のリファレンス

VBA: TableStyle

#
readonly autoFilter: AutoFilter

テーブルのオートフィルター。

Microsoft のリファレンス

VBA: AutoFilter

#
readonly sort: Sort

テーブルの並べ替え設定。

Microsoft のリファレンス

VBA: Sort

#
resize(range: Range): void

テーブルの範囲を変更する。

Microsoft のリファレンス

VBA: Resize

#
unlist(): void

テーブルを通常のセル範囲に戻す(データは残る)。

Microsoft のリファレンス

VBA: Unlist

#
delete(): void

テーブルをデータごと削除する。

Microsoft のリファレンス

VBA: Delete

#
refresh(): void

外部データ ソースからテーブルを更新する。

Microsoft のリファレンス

VBA: Refresh

#
displayName: string

VBA: DisplayName

#
comment: string

VBA: Comment

#
readonly active: boolean

VBA: Active

#
readonly sourceType: XlListObjectSourceType

VBA: SourceType

#
readonly insertRowRange: Range

VBA: InsertRowRange

#
readonly queryTable: object

VBA: QueryTable

#
showAutoFilterDropDown: boolean

VBA: ShowAutoFilterDropDown

#
showTableStyleFirstColumn: boolean

VBA: ShowTableStyleFirstColumn

#
showTableStyleLastColumn: boolean

VBA: ShowTableStyleLastColumn

#
showTableStyleRowStripes: boolean

VBA: ShowTableStyleRowStripes

#
showTableStyleColumnStripes: boolean

VBA: ShowTableStyleColumnStripes

VBA: Unlink

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.ListColumns

テーブルの列のコレクション。

Microsoft のリファレンス

#
(index: any): ListColumn

インデックスまたは列見出しで列を返す(既定メンバー)。

Microsoft のリファレンス

#
item(index: any): ListColumn

インデックスまたは列見出しで列を返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

列の数。

Microsoft のリファレンス

VBA: Count

#
add(position?: any): ListColumn

テーブルに列を追加する。

Microsoft のリファレンス

VBA: Add

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.ListColumn

テーブルの 1 列を表す。

Microsoft のリファレンス

#
name: string

列見出しの文字列。

Microsoft のリファレンス

VBA: Name

#
readonly index: int

テーブル内での列の位置(1 始まり)。

Microsoft のリファレンス

VBA: Index

#
readonly range: Range

見出しを含む列全体の範囲。

Microsoft のリファレンス

VBA: Range

#
readonly dataBodyRange: Range

列のデータ部分の範囲。

Microsoft のリファレンス

VBA: DataBodyRange

#
readonly total: Range

集計行のセル。

Microsoft のリファレンス

VBA: Total

#
totalsCalculation: XlTotalsCalculation

集計行での集計方法。

Microsoft のリファレンス

VBA: TotalsCalculation

#
delete(): void

列を削除する。

Microsoft のリファレンス

VBA: Delete

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.ListRows

テーブルの行のコレクション。

Microsoft のリファレンス

#
(index: any): ListRow

インデックスで行を返す(既定メンバー)。

Microsoft のリファレンス

#
item(index: any): ListRow

インデックスで行を返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

データ行の数。

Microsoft のリファレンス

VBA: Count

#
add(position?: any, alwaysInsert?: any): ListRow

テーブルに行を追加する。位置を省略すると末尾に追加する。

Microsoft のリファレンス

VBA: Add

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.ListRow

テーブルの 1 行を表す。

Microsoft のリファレンス

#
readonly index: int

テーブル内での行の位置(1 始まり)。

Microsoft のリファレンス

VBA: Index

#
readonly range: Range

行の範囲。

Microsoft のリファレンス

VBA: Range

#
delete(): void

行を削除する。

Microsoft のリファレンス

VBA: Delete

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Shapes

シート上の図形のコレクション。

Microsoft のリファレンス

#
(index: any): Shape

インデックスまたは名前で図形を返す(既定メンバー)。

Microsoft のリファレンス

#
item(index: any): Shape

インデックスまたは名前で図形を返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

図形の数。

Microsoft のリファレンス

VBA: Count

#
addShape(type: Office.MsoAutoShapeType, left: float, top: float, width: float, height: float): Shape

オートシェイプを追加する。

Microsoft のリファレンス

VBA: AddShape

#
addPicture(filename: string, linkToFile: Office.MsoTriState, saveWithDocument: Office.MsoTriState, left: float, top: float, width: float, height: float): Shape

画像ファイルから図を追加する。

Microsoft のリファレンス

VBA: AddPicture

#
addTextbox(orientation: Office.MsoTextOrientation, left: float, top: float, width: float, height: float): Shape

テキスト ボックスを追加する。

Microsoft のリファレンス

VBA: AddTextbox

#
addLine(beginX: float, beginY: float, endX: float, endY: float): Shape

直線を追加する。

Microsoft のリファレンス

VBA: AddLine

#
addChart2(style?: any, xlChartType?: any, left?: any, top?: any, width?: any, height?: any, newLayout?: any): Shape

グラフを追加する。

Microsoft のリファレンス

VBA: AddChart2

#
addFormControl(type: XlFormControl, left: int, top: int, width: int, height: int): Shape

フォーム コントロール(ボタンなど)を追加する。

Microsoft のリファレンス

VBA: AddFormControl

#
selectAll(): void

すべての図形を選択する。

Microsoft のリファレンス

VBA: SelectAll

#
range(index: any): object

複数の図形をまとめた ShapeRange を返す。

Microsoft のリファレンス

VBA: Range

#
readonly application: Application

VBA: Application

#
readonly parent: Worksheet | Chart

VBA: Parent

excel.d.ras

インターフェイス Excel.Shape

シート上の図形(オートシェイプ・図・グラフなど)を表す。

Microsoft のリファレンス

#
name: string

図形の名前。

Microsoft のリファレンス

VBA: Name

#
left: float

左端の位置(ポイント)。

Microsoft のリファレンス

VBA: Left

#
top: float

上端の位置(ポイント)。

Microsoft のリファレンス

VBA: Top

#
width: float

幅(ポイント)。

Microsoft のリファレンス

VBA: Width

#
height: float

高さ(ポイント)。

Microsoft のリファレンス

VBA: Height

#
visible: Office.MsoTriState

図形を表示するかどうか。

Microsoft のリファレンス

VBA: Visible

#
readonly type: Office.MsoShapeType

図形の種類。

Microsoft のリファレンス

VBA: Type

#
readonly topLeftCell: Range

図形の左上隅があるセル。

Microsoft のリファレンス

VBA: TopLeftCell

#
readonly bottomRightCell: Range

図形の右下隅があるセル。

Microsoft のリファレンス

VBA: BottomRightCell

#
placement: XlPlacement

セルの移動やサイズ変更に図形を追従させる方法。

Microsoft のリファレンス

VBA: Placement

#
onAction: string

図形をクリックしたときに実行するマクロ名。

Microsoft のリファレンス

VBA: OnAction

#
readonly textFrame: object

図形内のテキスト枠。

Microsoft のリファレンス

VBA: TextFrame

#
readonly chart: Chart

図形に含まれるグラフ。

Microsoft のリファレンス

VBA: Chart

#
delete(): void

図形を削除する。

Microsoft のリファレンス

VBA: Delete

#
select(replace?: any): void

図形を選択する。

Microsoft のリファレンス

VBA: Select

#
copy(): void

図形をクリップボードへコピーする。

Microsoft のリファレンス

VBA: Copy

#
duplicate(): Shape

図形を複製する。

Microsoft のリファレンス

VBA: Duplicate

#
rotation: float

VBA: Rotation

#
autoShapeType: Office.MsoAutoShapeType

VBA: AutoShapeType

#
alternativeText: string

VBA: AlternativeText

#
title: string

VBA: Title

#
locked: boolean

VBA: Locked

#
lockAspectRatio: Office.MsoTriState

VBA: LockAspectRatio

#
readonly hasChart: Office.MsoTriState

VBA: HasChart

#
readonly zOrderPosition: int

VBA: ZOrderPosition

#
readonly id: int

VBA: ID

#
readonly textFrame2: object

VBA: TextFrame2

#
readonly fill: object

VBA: Fill

#
readonly line: object

VBA: Line

VBA: Hyperlink

#
readonly controlFormat: object

VBA: ControlFormat

#
readonly oleFormat: object

VBA: OLEFormat

#
readonly groupItems: object

VBA: GroupItems

#
cut(): void

VBA: Cut

#
copyPicture(appearance?: any, format?: any): void

VBA: CopyPicture

#
scaleWidth(factor: float, relativeToOriginalSize: Office.MsoTriState, scale?: any): void

VBA: ScaleWidth

#
scaleHeight(factor: float, relativeToOriginalSize: Office.MsoTriState, scale?: any): void

VBA: ScaleHeight

#
incrementLeft(increment: float): void

VBA: IncrementLeft

#
incrementTop(increment: float): void

VBA: IncrementTop

#
incrementRotation(increment: float): void

VBA: IncrementRotation

#
zOrder(zOrderCmd: Office.MsoZOrderCmd): void

VBA: ZOrder

#
ungroup(): object

VBA: Ungroup

#
readonly application: Application

VBA: Application

#
readonly parent: Worksheet | Chart

VBA: Parent

excel.d.ras

インターフェイス Excel.ChartObjects

シート上の埋め込みグラフのコレクション。

Microsoft のリファレンス

#
(index: any): object

インデックスまたは名前で埋め込みグラフを返す(既定メンバー)。戻り値は Object 型。

Microsoft のリファレンス

#
item(index: any): object

インデックスまたは名前で埋め込みグラフを返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

埋め込みグラフの数。

Microsoft のリファレンス

VBA: Count

#
add(left: double, top: double, width: double, height: double): ChartObject

位置とサイズ(ポイント)を指定して埋め込みグラフを追加する。

Microsoft のリファレンス

VBA: Add

#
delete(): void

コレクション内の埋め込みグラフをすべて削除する。

Microsoft のリファレンス

VBA: Delete

#
select(replace?: any): void

VBA: Select

#
readonly application: Application

VBA: Application

#
readonly parent: Worksheet | Chart

VBA: Parent

excel.d.ras

インターフェイス Excel.ChartObject

シートに埋め込まれたグラフの入れ物を表す。

Microsoft のリファレンス

#
name: string

埋め込みグラフの名前。

Microsoft のリファレンス

VBA: Name

#
readonly chart: Chart

中に入っているグラフ本体。

Microsoft のリファレンス

VBA: Chart

#
left: double

左端の位置(ポイント)。

Microsoft のリファレンス

VBA: Left

#
top: double

上端の位置(ポイント)。

Microsoft のリファレンス

VBA: Top

#
width: double

幅(ポイント)。

Microsoft のリファレンス

VBA: Width

#
height: double

高さ(ポイント)。

Microsoft のリファレンス

VBA: Height

#
visible: boolean

表示するかどうか。

Microsoft のリファレンス

VBA: Visible

#
activate(): void

埋め込みグラフをアクティブにする。

Microsoft のリファレンス

VBA: Activate

#
delete(): void

埋め込みグラフを削除する。

Microsoft のリファレンス

VBA: Delete

#
select(replace?: any): void

埋め込みグラフを選択する。

Microsoft のリファレンス

VBA: Select

#
readonly topLeftCell: Range

VBA: TopLeftCell

#
readonly bottomRightCell: Range

VBA: BottomRightCell

#
readonly index: int

VBA: Index

#
readonly zOrder: int

VBA: ZOrder

#
placement: any

VBA: Placement

#
locked: boolean

VBA: Locked

#
printObject: boolean

VBA: PrintObject

#
roundedCorners: boolean

VBA: RoundedCorners

#
shadow: boolean

VBA: Shadow

#
protectChartObject: boolean

VBA: ProtectChartObject

#
readonly shapeRange: object

VBA: ShapeRange

#
copy(): void

VBA: Copy

#
cut(): void

VBA: Cut

#
copyPicture(appearance?: XlPictureAppearance, format?: XlCopyPictureFormat): void

VBA: CopyPicture

#
duplicate(): object

VBA: Duplicate

#
bringToFront(): void

VBA: BringToFront

#
sendToBack(): void

VBA: SendToBack

#
readonly application: Application

VBA: Application

#
readonly parent: Worksheet | Chart

VBA: Parent

excel.d.ras

インターフェイス Excel.Chart

グラフ(グラフ シートまたは埋め込みグラフの中身)を表す。

Microsoft のリファレンス

#
chartType: XlChartType

グラフの種類。

Microsoft のリファレンス

VBA: ChartType

#
setSourceData(source: Range, plotBy?: any): void

グラフの元データの範囲を設定する。

Microsoft のリファレンス

VBA: SetSourceData

#
hasTitle: boolean

グラフ タイトルを表示するかどうか。

Microsoft のリファレンス

VBA: HasTitle

#
readonly chartTitle: object

グラフ タイトル。

Microsoft のリファレンス

VBA: ChartTitle

#
hasLegend: boolean

凡例を表示するかどうか。

Microsoft のリファレンス

VBA: HasLegend

#
readonly legend: object

凡例。

Microsoft のリファレンス

VBA: Legend

#
seriesCollection(index?: any): object

データ系列を 1 つ、または全体のコレクションを返す。

Microsoft のリファレンス

VBA: SeriesCollection

#
axes(type?: any, axisGroup?: XlAxisGroup): object

軸を 1 つ、または全体のコレクションを返す。

Microsoft のリファレンス

VBA: Axes

#
export(filename: string, filterName?: any, interactive?: any): boolean

グラフを画像ファイルとして書き出す。

Microsoft のリファレンス

VBA: Export

#
delete(): void

グラフを削除する。

Microsoft のリファレンス

VBA: Delete

#
name: string

グラフの名前。

Microsoft のリファレンス

VBA: Name

#
plotBy: XlRowCol

系列を行と列のどちらから取るか。

Microsoft のリファレンス

VBA: PlotBy

#
chartStyle: any

VBA: ChartStyle

#
displayBlanksAs: XlDisplayBlanksAs

VBA: DisplayBlanksAs

#
plotVisibleOnly: boolean

VBA: PlotVisibleOnly

#
hasDataTable: boolean

VBA: HasDataTable

#
visible: XlSheetVisibility

VBA: Visible

#
readonly chartArea: object

VBA: ChartArea

#
readonly plotArea: object

VBA: PlotArea

#
readonly dataTable: object

VBA: DataTable

#
readonly index: int

VBA: Index

#
readonly codeName: string

VBA: CodeName

#
readonly pageSetup: PageSetup

VBA: PageSetup

#
readonly shapes: Shapes

VBA: Shapes

#
readonly protectContents: boolean

VBA: ProtectContents

#
activate(): void

VBA: Activate

#
select(replace?: any): void

VBA: Select

#
copy(before?: any, after?: any): void

VBA: Copy

#
move(before?: any, after?: any): void

VBA: Move

#
copyPicture(appearance?: XlPictureAppearance, format?: XlCopyPictureFormat, size?: XlPictureAppearance): void

VBA: CopyPicture

#
paste(type?: any): void

VBA: Paste

#
refresh(): void

VBA: Refresh

#
location(where: XlChartLocation, name?: any): Chart

VBA: Location

#
applyLayout(layout: int, chartType?: any): void

VBA: ApplyLayout

#
applyChartTemplate(filename: string): void

VBA: ApplyChartTemplate

#
saveChartTemplate(filename: string): void

VBA: SaveChartTemplate

#
clearToMatchStyle(): void

VBA: ClearToMatchStyle

#
chartObjects(index?: any): object

VBA: ChartObjects

#
chartGroups(index?: any): object

VBA: ChartGroups

#
fullSeriesCollection(index?: any): object

VBA: FullSeriesCollection

#
evaluate(name: any): any

VBA: Evaluate

#
protect(password?: any, drawingObjects?: any, contents?: any, scenarios?: any, userInterfaceOnly?: any): void

VBA: Protect

#
unprotect(password?: any): void

VBA: Unprotect

#
printOut(from?: any, to?: any, copies?: any, preview?: any, activePrinter?: any, printToFile?: any, collate?: any, prToFileName?: any, ignorePrintAreas?: any): void

VBA: PrintOut

#
printPreview(enableChanges?: any): void

VBA: PrintPreview

#
exportAsFixedFormat(type: XlFixedFormatType, filename?: any, quality?: any, includeDocProperties?: any, ignorePrintAreas?: any, from?: any, to?: any, openAfterPublish?: any, fixedFormatExtClassPtr?: any): void

VBA: ExportAsFixedFormat

#
readonly application: Application

VBA: Application

#
readonly parent: Workbook | ChartObject

VBA: Parent

excel.d.ras

インターフェイス Excel.PageSetup

印刷時のページ設定を表す。

Microsoft のリファレンス

#
orientation: XlPageOrientation

用紙の向き。

Microsoft のリファレンス

VBA: Orientation

#
paperSize: XlPaperSize

用紙サイズ。

Microsoft のリファレンス

VBA: PaperSize

#
printArea: string

印刷範囲(A1 形式の文字列)。空文字列でシート全体。

Microsoft のリファレンス

VBA: PrintArea

#
printTitleRows: string

各ページの上端に繰り返し印刷する行。

Microsoft のリファレンス

VBA: PrintTitleRows

#
printTitleColumns: string

各ページの左端に繰り返し印刷する列。

Microsoft のリファレンス

VBA: PrintTitleColumns

#
zoom: any

拡大縮小率(パーセント)。false にすると FitToPages の指定が有効になる。

Microsoft のリファレンス

VBA: Zoom

#
fitToPagesWide: any

横方向に収めるページ数。

Microsoft のリファレンス

VBA: FitToPagesWide

#
fitToPagesTall: any

縦方向に収めるページ数。

Microsoft のリファレンス

VBA: FitToPagesTall

#
leftMargin: double

左余白(ポイント)。

Microsoft のリファレンス

VBA: LeftMargin

#
rightMargin: double

右余白(ポイント)。

Microsoft のリファレンス

VBA: RightMargin

#
topMargin: double

上余白(ポイント)。

Microsoft のリファレンス

VBA: TopMargin

#
bottomMargin: double

下余白(ポイント)。

Microsoft のリファレンス

VBA: BottomMargin

#
centerHorizontally: boolean

ページの左右中央に配置するかどうか。

Microsoft のリファレンス

VBA: CenterHorizontally

#
centerVertically: boolean

ページの上下中央に配置するかどうか。

Microsoft のリファレンス

VBA: CenterVertically

#
centerHeader: string

ヘッダー中央部の文字列。

Microsoft のリファレンス

VBA: CenterHeader

#
centerFooter: string

フッター中央部の文字列。

Microsoft のリファレンス

VBA: CenterFooter

#
headerMargin: double

VBA: HeaderMargin

#
footerMargin: double

VBA: FooterMargin

#
leftHeader: string

VBA: LeftHeader

#
rightHeader: string

VBA: RightHeader

#
leftFooter: string

VBA: LeftFooter

#
rightFooter: string

VBA: RightFooter

#
printGridlines: boolean

VBA: PrintGridlines

#
printHeadings: boolean

VBA: PrintHeadings

#
blackAndWhite: boolean

VBA: BlackAndWhite

#
draft: boolean

VBA: Draft

#
order: XlOrder

VBA: Order

#
firstPageNumber: int

VBA: FirstPageNumber

#
printComments: XlPrintLocation

VBA: PrintComments

#
printErrors: XlPrintErrors

VBA: PrintErrors

#
oddAndEvenPagesHeaderFooter: boolean

VBA: OddAndEvenPagesHeaderFooter

#
differentFirstPageHeaderFooter: boolean

VBA: DifferentFirstPageHeaderFooter

#
scaleWithDocHeaderFooter: boolean

VBA: ScaleWithDocHeaderFooter

#
alignMarginsHeaderFooter: boolean

VBA: AlignMarginsHeaderFooter

#
printQuality(index?: any): any

VBA: PrintQuality

#
readonly application: Application

VBA: Application

#
readonly parent: Worksheet | Chart

VBA: Parent

excel.d.ras

インターフェイス Excel.AutoFilter

ワークシートまたはテーブルのオートフィルターを表す。

Microsoft のリファレンス

#
readonly range: Range

フィルターが適用されている範囲。

Microsoft のリファレンス

VBA: Range

#
readonly filters: object

各列のフィルター条件のコレクション。

Microsoft のリファレンス

VBA: Filters

#
readonly filterMode: boolean

絞り込まれた状態かどうか。

Microsoft のリファレンス

VBA: FilterMode

#
readonly sort: Sort

フィルター範囲の並べ替え設定。

Microsoft のリファレンス

VBA: Sort

#
applyFilter(): void

現在の条件でフィルターを掛け直す。

Microsoft のリファレンス

VBA: ApplyFilter

#
showAllData(): void

絞り込みを解除してすべての行を表示する。

Microsoft のリファレンス

VBA: ShowAllData

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.Sort

シート・テーブル・オートフィルターの並べ替え設定を表す。

Microsoft のリファレンス

#
readonly sortFields: SortFields

並べ替えキーのコレクション。

Microsoft のリファレンス

VBA: SortFields

#
setRange(rng: Range): void

並べ替える範囲を設定する。

Microsoft のリファレンス

VBA: SetRange

#
header: XlYesNoGuess

先頭行を見出しとして扱うかどうか。

Microsoft のリファレンス

VBA: Header

#
matchCase: boolean

大文字と小文字を区別するかどうか。

Microsoft のリファレンス

VBA: MatchCase

#
orientation: XlSortOrientation

並べ替えの方向(行単位 / 列単位)。

Microsoft のリファレンス

VBA: Orientation

#
apply(): void

設定した内容で並べ替えを実行する。

Microsoft のリファレンス

VBA: Apply

#
sortMethod: XlSortMethod

VBA: SortMethod

#
readonly rng: Range

VBA: Rng

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.SortFields

並べ替えキーのコレクション。

Microsoft のリファレンス

#
(index: any): SortField

インデックスで並べ替えキーを返す(既定メンバー)。

Microsoft のリファレンス

#
item(index: any): SortField

インデックスで並べ替えキーを返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

並べ替えキーの数。

Microsoft のリファレンス

VBA: Count

#
add(key: Range, sortOn?: any, order?: any, customOrder?: any, dataOption?: any): SortField

並べ替えキーを追加する。

Microsoft のリファレンス

VBA: Add

#
clear(): void

すべての並べ替えキーを削除する。

Microsoft のリファレンス

VBA: Clear

#
add2(key: Range, sortOn?: any, order?: any, customOrder?: any, dataOption?: any, subField?: any): SortField

VBA: Add2

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.SortField

並べ替えキー 1 つ分の設定を表す。

Microsoft のリファレンス

#
readonly key: Range

キーとなるセル範囲。

Microsoft のリファレンス

VBA: Key

#
sortOn: XlSortOn

並べ替えの基準(値 / セルの色 / フォントの色 / アイコン)。

Microsoft のリファレンス

VBA: SortOn

#
order: XlSortOrder

並べ替えの順序。

Microsoft のリファレンス

VBA: Order

#
customOrder: any

ユーザー設定リストによる並び順。

Microsoft のリファレンス

VBA: CustomOrder

#
dataOption: XlSortDataOption

数値に見える文字列の扱い。

Microsoft のリファレンス

VBA: DataOption

#
priority: int

VBA: Priority

#
readonly sortOnValue: object

VBA: SortOnValue

#
delete(): void

VBA: Delete

#
modifyKey(key: Range): void

VBA: ModifyKey

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.FormatConditions

セル範囲の条件付き書式のコレクション(各要素は Object 型)。

Microsoft のリファレンス

#
(index: any): object

インデックスで条件付き書式を返す(既定メンバー)。

Microsoft のリファレンス

#
item(index: any): object

インデックスで条件付き書式を返す。

Microsoft のリファレンス

VBA: Item

#
readonly count: int

条件付き書式の数。

Microsoft のリファレンス

VBA: Count

#
add(type: XlFormatConditionType, operator?: any, formula1?: any, formula2?: any): object

条件付き書式を追加する。

Microsoft のリファレンス

VBA: Add

#
delete(): void

範囲の条件付き書式をすべて削除する。

Microsoft のリファレンス

VBA: Delete

#
addColorScale(colorScaleType: int): object

VBA: AddColorScale

#
addDatabar(): object

VBA: AddDatabar

#
addIconSetCondition(): object

VBA: AddIconSetCondition

#
addTop10(): object

VBA: AddTop10

#
addAboveAverage(): object

VBA: AddAboveAverage

#
addUniqueValues(): object

VBA: AddUniqueValues

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

インターフェイス Excel.WorksheetFunction

VBA から呼び出せるワークシート関数の入れ物。失敗すると実行時エラーになる。

Microsoft のリファレンス

#
sum(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

合計を返す。

Microsoft のリファレンス

VBA: Sum

#
average(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

平均を返す。

Microsoft のリファレンス

VBA: Average

#
count(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

数値が入っているセルの個数を返す。

Microsoft のリファレンス

VBA: Count

#
countA(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

空白でないセルの個数を返す。

Microsoft のリファレンス

VBA: CountA

#
countIf(arg1: Range, arg2: any): double

条件に一致するセルの個数を返す。

Microsoft のリファレンス

VBA: CountIf

#
countIfs(arg1: Range, arg2: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

複数の条件すべてに一致するセルの個数を返す。

Microsoft のリファレンス

VBA: CountIfs

#
sumIf(arg1: Range, arg2: any, arg3?: any): double

条件に一致するセルの合計を返す。

Microsoft のリファレンス

VBA: SumIf

#
sumIfs(arg1: Range, arg2: Range, arg3: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

複数の条件すべてに一致するセルの合計を返す。

Microsoft のリファレンス

VBA: SumIfs

#
max(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

最大値を返す。

Microsoft のリファレンス

VBA: Max

#
min(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

最小値を返す。

Microsoft のリファレンス

VBA: Min

#
match(arg1: any, arg2: any, arg3?: any): double

検索値が範囲内の何番目にあるかを返す。見つからないと実行時エラーになる。

Microsoft のリファレンス

VBA: Match

#
index(arg1: any, arg2: double, arg3?: any, arg4?: any): any

範囲または配列から、行番号と列番号で指定した要素を返す。

Microsoft のリファレンス

VBA: Index

#
vLookup(arg1: any, arg2: any, arg3: any, arg4?: any): any

範囲の左端列を縦方向に検索し、同じ行の指定列の値を返す。

Microsoft のリファレンス

VBA: VLookup

#
hLookup(arg1: any, arg2: any, arg3: any, arg4?: any): any

範囲の上端行を横方向に検索し、同じ列の指定行の値を返す。

Microsoft のリファレンス

VBA: HLookup

#
xLookup(arg1: any, arg2: any, arg3: any, arg4?: any, arg5?: any, arg6?: any): any

検索範囲から値を探し、対応する戻り範囲の値を返す(新しい Excel のみ)。

Microsoft のリファレンス

VBA: XLookup

#
round(arg1: double, arg2: double): double

指定した桁数に四捨五入する。

Microsoft のリファレンス

VBA: Round

#
roundUp(arg1: double, arg2: double): double

指定した桁数に切り上げる(0 から遠い方向)。

Microsoft のリファレンス

VBA: RoundUp

#
roundDown(arg1: double, arg2: double): double

指定した桁数に切り捨てる(0 に近い方向)。

Microsoft のリファレンス

VBA: RoundDown

#
trim(arg1: string): string

前後の空白を除き、単語間の連続する空白を 1 つにまとめる。

Microsoft のリファレンス

VBA: Trim

#
text(arg1: any, arg2: string): string

値を表示形式に従って文字列に変換する。

Microsoft のリファレンス

VBA: Text

#
transpose(arg1: any): any

配列の行と列を入れ替える。

Microsoft のリファレンス

VBA: Transpose

#
ifError(arg1: cellValue, arg2: any): any

第 1 引数がエラー値なら第 2 引数を、そうでなければ第 1 引数を返す。

Microsoft のリファレンス

VBA: IfError

#
large(arg1: any, arg2: double): double

大きい方から数えて k 番目の値を返す。

Microsoft のリファレンス

VBA: Large

#
small(arg1: any, arg2: double): double

小さい方から数えて k 番目の値を返す。

Microsoft のリファレンス

VBA: Small

#
median(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

中央値を返す。

Microsoft のリファレンス

VBA: Median

#
stDev(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

標本にもとづく標準偏差を返す。

Microsoft のリファレンス

VBA: StDev

#
var(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

標本にもとづく分散を返す。

Microsoft のリファレンス

VBA: Var

#
rank(arg1: double, arg2: Range, arg3?: any): double

数値が範囲内で何番目の大きさかを返す。

Microsoft のリファレンス

VBA: Rank

#
floor(arg1: double, arg2: double): double

基準値の倍数のうち、0 に近い方向へ切り捨てた値を返す。

Microsoft のリファレンス

VBA: Floor

#
ceiling(arg1: double, arg2: double): double

基準値の倍数のうち、0 から遠い方向へ切り上げた値を返す。

Microsoft のリファレンス

VBA: Ceiling

#
power(arg1: double, arg2: double): double

べき乗を返す。

Microsoft のリファレンス

VBA: Power

#
product(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

積を返す。

Microsoft のリファレンス

VBA: Product

#
sumProduct(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

配列の対応する要素どうしを掛けて、その合計を返す。

Microsoft のリファレンス

VBA: SumProduct

#
eoMonth(arg1: any, arg2: any): double

開始日から指定月数だけ前後した月の末日(シリアル値)を返す。

Microsoft のリファレンス

VBA: EoMonth

#
eDate(arg1: any, arg2: any): double

開始日から指定月数だけ前後した日付(シリアル値)を返す。

Microsoft のリファレンス

VBA: EDate

#
networkDays(arg1: any, arg2: any, arg3?: any): double

2 つの日付の間の稼働日数を返す。

Microsoft のリファレンス

VBA: NetworkDays

#
workDay(arg1: any, arg2: any, arg3?: any): double

開始日から指定した稼働日数だけ前後した日付(シリアル値)を返す。

Microsoft のリファレンス

VBA: WorkDay

#
weekNum(arg1: any, arg2?: any): double

日付がその年の第何週かを返す。

Microsoft のリファレンス

VBA: WeekNum

#
find(arg1: string, arg2: string, arg3?: any): double

文字列内で検索文字列が最初に現れる位置を返す(大文字と小文字を区別する)。

Microsoft のリファレンス

VBA: Find

#
search(arg1: string, arg2: string, arg3?: any): double

文字列内で検索文字列が最初に現れる位置を返す(大文字と小文字を区別せず、ワイルドカードを使える)。

Microsoft のリファレンス

VBA: Search

#
substitute(arg1: string, arg2: string, arg3: string, arg4?: any): string

文字列中の指定した部分文字列を別の文字列に置き換える。

Microsoft のリファレンス

VBA: Substitute

#
rept(arg1: string, arg2: double): string

文字列を指定回数だけ繰り返す。

Microsoft のリファレンス

VBA: Rept

#
proper(arg1: string): string

各単語の先頭を大文字、残りを小文字にする。

Microsoft のリファレンス

VBA: Proper

#
clean(arg1: string): string

印刷できない制御文字を取り除く。

Microsoft のリファレンス

VBA: Clean

#
asc(arg1: string): string

全角の英数カナを半角にする。

Microsoft のリファレンス

VBA: Asc

#
dbcs(arg1: string): string

半角の英数カナを全角にする。

Microsoft のリファレンス

VBA: Dbcs

#
phonetic(arg1: Range): string

セルのふりがなを返す。

Microsoft のリファレンス

VBA: Phonetic

#
lookup(arg1: any, arg2: any, arg3?: any): any

行または列を検索し、別の行または列の同じ位置の値を返す。

Microsoft のリファレンス

VBA: Lookup

#
choose(arg1: any, arg2: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): any

インデックスに対応する値を引数リストから選んで返す。

Microsoft のリファレンス

VBA: Choose

#
and(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): boolean

すべての引数が真なら true を返す。

Microsoft のリファレンス

VBA: And

#
or(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): boolean

いずれかの引数が真なら true を返す。

Microsoft のリファレンス

VBA: Or

#
isNumber(arg1: cellValue): boolean

値が数値かどうかを返す。

Microsoft のリファレンス

VBA: IsNumber

#
isText(arg1: cellValue): boolean

値が文字列かどうかを返す。

Microsoft のリファレンス

VBA: IsText

#
isError(arg1: cellValue): boolean

値がエラー値かどうかを返す。

Microsoft のリファレンス

VBA: IsError

#
isNA(arg1: cellValue): boolean

値が #N/A かどうかを返す。

Microsoft のリファレンス

VBA: IsNA

#
pi(): double

円周率を返す。

Microsoft のリファレンス

VBA: Pi

#
radians(arg1: double): double

度をラジアンに変換する。

Microsoft のリファレンス

VBA: Radians

#
degrees(arg1: double): double

ラジアンを度に変換する。

Microsoft のリファレンス

VBA: Degrees

#
ln(arg1: double): double

自然対数を返す。

Microsoft のリファレンス

VBA: Ln

#
log(arg1: double, arg2?: any): double

指定した底の対数を返す(底を省略すると 10)。

Microsoft のリファレンス

VBA: Log

#
log10(arg1: double): double

常用対数を返す。

Microsoft のリファレンス

VBA: Log10

#
fact(arg1: double): double

階乗を返す。

Microsoft のリファレンス

VBA: Fact

#
combin(arg1: double, arg2: double): double

組み合わせの数を返す。

Microsoft のリファレンス

VBA: Combin

#
quotient(arg1: any, arg2: any): double

割り算の商の整数部分を返す。

Microsoft のリファレンス

VBA: Quotient

#
mRound(arg1: any, arg2: any): double

指定した値の倍数に丸める。

Microsoft のリファレンス

VBA: MRound

#
xMatch(arg1: any, arg2: any, arg3?: any, arg4?: any): double

VBA: XMatch

#
countBlank(arg1: Range): double

VBA: CountBlank

#
averageIf(arg1: Range, arg2: any, arg3?: any): double

VBA: AverageIf

#
averageIfs(arg1: Range, arg2: Range, arg3: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

VBA: AverageIfs

#
ifNa(arg1: cellValue, arg2: any): any

VBA: IfNa

#
mode(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

VBA: Mode

#
stDevP(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

VBA: StDevP

#
varP(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

VBA: VarP

#
stDev_S(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

VBA: StDev_S

#
stDev_P(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

VBA: StDev_P

#
var_S(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

VBA: Var_S

#
var_P(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

VBA: Var_P

#
rank_Eq(arg1: double, arg2: Range, arg3?: any): double

VBA: Rank_Eq

#
percentile(arg1: any, arg2: double): double

VBA: Percentile

#
quartile(arg1: any, arg2: double): double

VBA: Quartile

#
subtotal(arg1: double, arg2: Range, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

VBA: Subtotal

#
sumSq(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double

VBA: SumSq

#
even(arg1: double): double

VBA: Even

#
odd(arg1: double): double

VBA: Odd

#
randBetween(arg1: any, arg2: any): double

VBA: RandBetween

#
weekday(arg1: any, arg2?: any): double

VBA: Weekday

#
days360(arg1: any, arg2: any, arg3?: any): double

VBA: Days360

#
replace(arg1: string, arg2: double, arg3: double, arg4: string): string

VBA: Replace

#
fixed(arg1: double, arg2?: any, arg3?: any): string

VBA: Fixed

#
textJoin(arg1: any, arg2: any, arg3: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): string

VBA: TextJoin

#
concat(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): string

VBA: Concat

#
isNonText(arg1: cellValue): boolean

VBA: IsNonText

#
isErr(arg1: cellValue): boolean

VBA: IsErr

#
isLogical(arg1: cellValue): boolean

VBA: IsLogical

#
isEven(arg1: any): boolean

VBA: IsEven

#
isOdd(arg1: any): boolean

VBA: IsOdd

#
isFormula(arg1: Range): boolean

VBA: IsFormula

#
frequency(arg1: any, arg2: any): any

VBA: Frequency

#
mMult(arg1: any, arg2: any): any

VBA: MMult

#
mInverse(arg1: any): any

VBA: MInverse

#
unique(arg1: any, arg2?: any, arg3?: any): any

VBA: Unique

#
filter(arg1: any, arg2: any, arg3?: any): any

VBA: Filter

#
sort(arg1: any, arg2?: any, arg3?: any, arg4?: any): any

VBA: Sort

#
readonly application: Application

VBA: Application

#
readonly parent: object

VBA: Parent

excel.d.ras

列挙型 Excel.Constants

特定の列挙型に属さない汎用の定数(xlNone / xlCenter / xlAutomatic など)。

Microsoft のリファレンス

#
xl3DBar = -4099
#
xl3DEffects1 = 13
#
xl3DEffects2 = 14
#
xl3DSurface = -4103
#
xlAbove = 0
#
xlAccounting1 = 4
#
xlAccounting2 = 5
#
xlAccounting4 = 17
#
xlAdd = 2
#
xlAll = -4104
#
xlAccounting3 = 6
#
xlAllExceptBorders = 7
#
xlAutomatic = -4105
#
xlBar = 2
#
xlBelow = 1
#
xlBidi = -5000
#
xlBidiCalendar = 3
#
xlBoth = 1
#
xlBottom = -4107
#
xlCascade = 7
#
xlCenter = -4108
#
xlCenterAcrossSelection = 7
#
xlChart4 = 2
#
xlChartSeries = 17
#
xlChartShort = 6
#
xlChartTitles = 18
#
xlChecker = 9
#
xlCircle = 8
#
xlClassic1 = 1
#
xlClassic2 = 2
#
xlClassic3 = 3
#
xlClosed = 3
#
xlColor1 = 7
#
xlColor2 = 8
#
xlColor3 = 9
#
xlColumn = 3
#
xlCombination = -4111
#
xlComplete = 4
#
xlConstants = 2
#
xlContents = 2
#
xlContext = -5002
#
xlCorner = 2
#
xlCrissCross = 16
#
xlCross = 4
#
xlCustom = -4114
#
xlDebugCodePane = 13
#
xlDefaultAutoFormat = -1
#
xlDesktop = 9
#
xlDiamond = 2
#
xlDirect = 1
#
xlDistributed = -4117
#
xlDivide = 5
#
xlDoubleAccounting = 5
#
xlDoubleClosed = 5
#
xlDoubleOpen = 4
#
xlDoubleQuote = 1
#
xlDrawingObject = 14
#
xlEntireChart = 20
#
xlExcelMenus = 1
#
xlExtended = 3
#
xlFill = 5
#
xlFirst = 0
#
xlFixedValue = 1
#
xlFloating = 5
#
xlFormats = -4122
#
xlFormula = 5
#
xlFullScript = 1
#
xlGeneral = 1
#
xlGray16 = 17
#
xlGray25 = -4124
#
xlGray50 = -4125
#
xlGray75 = -4126
#
xlGray8 = 18
#
xlGregorian = 2
#
xlGrid = 15
#
xlGridline = 22
#
xlHigh = -4127
#
xlHindiNumerals = 3
#
xlIcons = 1
#
xlImmediatePane = 12
#
xlInside = 2
#
xlInteger = 2
#
xlJustify = -4130
#
xlLast = 1
#
xlLastCell = 11
#
xlLatin = -5001
#
xlLeft = -4131
#
xlLeftToRight = 2
#
xlLightDown = 13
#
xlLightHorizontal = 11
#
xlLightUp = 14
#
xlLightVertical = 12
#
xlList1 = 10
#
xlList2 = 11
#
xlList3 = 12
#
xlLocalFormat1 = 15
#
xlLocalFormat2 = 16
#
xlLogicalCursor = 1
#
xlLong = 3
#
xlLotusHelp = 2
#
xlLow = -4134
#
xlLTR = -5003
#
xlMacrosheetCell = 7
#
xlManual = -4135
#
xlMaximum = 2
#
xlMinimum = 4
#
xlMinusValues = 3
#
xlMixed = 2
#
xlMixedAuthorizedScript = 4
#
xlMixedScript = 3
#
xlModule = -4141
#
xlMultiply = 4
#
xlNarrow = 1
#
xlNextToAxis = 4
#
xlNoDocuments = 3
#
xlNone = -4142
#
xlNotes = -4144
#
xlOff = -4146
#
xlOn = 1
#
xlOpaque = 3
#
xlOpen = 2
#
xlOutside = 3
#
xlPartial = 3
#
xlPartialScript = 2
#
xlPercent = 2
#
xlPlus = 9
#
xlPlusValues = 2
#
xlReference = 4
#
xlRight = -4152
#
xlRTL = -5004
#
xlScale = 3
#
xlSemiautomatic = 2
#
xlSemiGray75 = 10
#
xlShort = 1
#
xlShowLabel = 4
#
xlShowLabelAndPercent = 5
#
xlShowPercent = 3
#
xlShowValue = 2
#
xlSimple = -4154
#
xlSingle = 2
#
xlSingleAccounting = 4
#
xlSingleQuote = 2
#
xlSolid = 1
#
xlSquare = 1
#
xlStar = 5
#
xlStError = 4
#
xlStrict = 2
#
xlSubtract = 3
#
xlSystem = 1
#
xlTextBox = 16
#
xlTiled = 1
#
xlTitleBar = 8
#
xlToolbar = 1
#
xlToolbarButton = 2
#
xlTop = -4160
#
xlTopToBottom = 1
#
xlTransparent = 2
#
xlTriangle = 3
#
xlVeryHidden = 2
#
xlVisible = 12
#
xlVisualCursor = 2
#
xlWatchPane = 11
#
xlWide = 3
#
xlWorkbookTab = 6
#
xlWorksheet4 = 1
#
xlWorksheetCell = 3
#
xlWorksheetShort = 5

excel.d.ras

列挙型 Excel.XlDirection

移動や検索の方向を指定する。

Microsoft のリファレンス

#
xlDown = -4121
#
xlToLeft = -4159
#
xlToRight = -4161
#
xlUp = -4162

excel.d.ras

列挙型 Excel.XlCalculation

再計算モードを指定する。

Microsoft のリファレンス

#
xlCalculationAutomatic = -4105
#
xlCalculationManual = -4135
#
xlCalculationSemiautomatic = 2

excel.d.ras

列挙型 Excel.XlCalculationState

計算の進行状態を表す。

Microsoft のリファレンス

#
xlCalculating = 1
#
xlDone = 0
#
xlPending = 2

excel.d.ras

列挙型 Excel.XlCalculationInterruptKey

計算を中断できるキーを指定する。

Microsoft のリファレンス

#
xlAnyKey = 2
#
xlEscKey = 1
#
xlNoKey = 0

excel.d.ras

列挙型 Excel.XlLookAt

セルの内容全体と一致させるか、一部と一致させるかを指定する。

Microsoft のリファレンス

#
xlPart = 2
#
xlWhole = 1

excel.d.ras

列挙型 Excel.XlFindLookIn

検索対象(数式 / 値 / コメント)を指定する。

Microsoft のリファレンス

#
xlComments = -4144
#
xlCommentsThreaded = -4184
#
xlFormulas = -4123
#
xlValues = -4163

excel.d.ras

列挙型 Excel.XlSearchOrder

検索を行方向に進めるか列方向に進めるかを指定する。

Microsoft のリファレンス

#
xlByColumns = 2
#
xlByRows = 1

excel.d.ras

列挙型 Excel.XlSearchDirection

次を検索するか前を検索するかを指定する。

Microsoft のリファレンス

#
xlNext = 1
#
xlPrevious = 2

excel.d.ras

列挙型 Excel.XlPasteType

形式を選択して貼り付けるときに貼り付ける要素を指定する。

Microsoft のリファレンス

#
xlPasteAll = -4104
#
xlPasteAllExceptBorders = 7
#
xlPasteAllMergingConditionalFormats = 14
#
xlPasteAllUsingSourceTheme = 13
#
xlPasteColumnWidths = 8
#
xlPasteComments = -4144
#
xlPasteFormats = -4122
#
xlPasteFormulas = -4123
#
xlPasteFormulasAndNumberFormats = 11
#
xlPasteValidation = 6
#
xlPasteValues = -4163
#
xlPasteValuesAndNumberFormats = 12

excel.d.ras

列挙型 Excel.XlPasteSpecialOperation

貼り付けるときに貼り付け先の値と行う演算を指定する。

Microsoft のリファレンス

#
xlPasteSpecialOperationAdd = 2
#
xlPasteSpecialOperationDivide = 5
#
xlPasteSpecialOperationMultiply = 4
#
xlPasteSpecialOperationNone = -4142
#
xlPasteSpecialOperationSubtract = 3

excel.d.ras

列挙型 Excel.XlSheetVisibility

シートの表示状態を指定する。

Microsoft のリファレンス

#
xlSheetHidden = 0
#
xlSheetVeryHidden = 2
#
xlSheetVisible = -1

excel.d.ras

列挙型 Excel.XlSheetType

シートの種類を指定する。

Microsoft のリファレンス

#
xlChart = -4109
#
xlDialogSheet = -4116
#
xlExcel4IntlMacroSheet = 4
#
xlExcel4MacroSheet = 3
#
xlWorksheet = -4167

excel.d.ras

列挙型 Excel.XlFileFormat

ブックを保存するときのファイル形式を指定する。

Microsoft のリファレンス

#
xlAddIn = 18
#
xlAddIn8 = 18
#
xlCSV = 6
#
xlCSVMac = 22
#
xlCSVMSDOS = 24
#
xlCSVUTF8 = 62
#
xlCSVWindows = 23
#
xlCurrentPlatformText = -4158
#
xlDBF2 = 7
#
xlDBF3 = 8
#
xlDBF4 = 11
#
xlDIF = 9
#
xlExcel12 = 50
#
xlExcel2 = 16
#
xlExcel2FarEast = 27
#
xlExcel3 = 29
#
xlExcel4 = 33
#
xlExcel4Workbook = 35
#
xlExcel5 = 39
#
xlExcel7 = 39
#
xlExcel8 = 56
#
xlExcel9795 = 43
#
xlHtml = 44
#
xlIntlAddIn = 26
#
xlIntlMacro = 25
#
xlOpenDocumentSpreadsheet = 60
#
xlOpenXMLAddIn = 55
#
xlOpenXMLTemplate = 54
#
xlOpenXMLTemplateMacroEnabled = 53
#
xlOpenXMLWorkbook = 51
#
xlOpenXMLWorkbookMacroEnabled = 52
#
xlSYLK = 2
#
xlTemplate = 17
#
xlTemplate8 = 17
#
xlTextMac = 19
#
xlTextMSDOS = 21
#
xlTextPrinter = 36
#
xlTextWindows = 20
#
xlUnicodeText = 42
#
xlWebArchive = 45
#
xlWJ2WD1 = 14
#
xlWJ3 = 40
#
xlWJ3FJ3 = 41
#
xlWK1 = 5
#
xlWK1ALL = 31
#
xlWK1FMT = 30
#
xlWK3 = 15
#
xlWK3FM3 = 32
#
xlWK4 = 38
#
xlWKS = 4
#
xlWorkbookDefault = 51
#
xlWorkbookNormal = -4143
#
xlWorks2FarEast = 28
#
xlWQ1 = 34
#
xlXMLSpreadsheet = 46

excel.d.ras

列挙型 Excel.XlCellType

SpecialCells で取り出すセルの種類を指定する。

Microsoft のリファレンス

#
xlCellTypeAllFormatConditions = -4172
#
xlCellTypeAllValidation = -4174
#
xlCellTypeBlanks = 4
#
xlCellTypeComments = -4144
#
xlCellTypeConstants = 2
#
xlCellTypeFormulas = -4123
#
xlCellTypeLastCell = 11
#
xlCellTypeSameFormatConditions = -4173
#
xlCellTypeSameValidation = -4175
#
xlCellTypeVisible = 12

excel.d.ras

列挙型 Excel.XlSpecialCellsValue

SpecialCells で定数または数式のセルを取り出すときの値の種類を指定する(加算して組み合わせられる)。

Microsoft のリファレンス

#
xlErrors = 16
#
xlLogical = 4
#
xlNumbers = 1
#
xlTextValues = 2

excel.d.ras

列挙型 Excel.XlHAlign

横方向の配置を指定する。

Microsoft のリファレンス

#
xlHAlignCenter = -4108
#
xlHAlignCenterAcrossSelection = 7
#
xlHAlignDistributed = -4117
#
xlHAlignFill = 5
#
xlHAlignGeneral = 1
#
xlHAlignJustify = -4130
#
xlHAlignLeft = -4131
#
xlHAlignRight = -4152

excel.d.ras

列挙型 Excel.XlVAlign

縦方向の配置を指定する。

Microsoft のリファレンス

#
xlVAlignBottom = -4107
#
xlVAlignCenter = -4108
#
xlVAlignDistributed = -4117
#
xlVAlignJustify = -4130
#
xlVAlignTop = -4160

excel.d.ras

列挙型 Excel.XlBordersIndex

罫線の位置を指定する。

Microsoft のリファレンス

#
xlDiagonalDown = 5
#
xlDiagonalUp = 6
#
xlEdgeBottom = 9
#
xlEdgeLeft = 7
#
xlEdgeRight = 10
#
xlEdgeTop = 8
#
xlInsideHorizontal = 12
#
xlInsideVertical = 11

excel.d.ras

列挙型 Excel.XlLineStyle

罫線の線種を指定する。

Microsoft のリファレンス

#
xlContinuous = 1
#
xlDash = -4115
#
xlDashDot = 4
#
xlDashDotDot = 5
#
xlDot = -4118
#
xlDouble = -4119
#
xlLineStyleNone = -4142
#
xlSlantDashDot = 13

excel.d.ras

列挙型 Excel.XlBorderWeight

罫線の太さを指定する。

Microsoft のリファレンス

#
xlHairline = 1
#
xlMedium = -4138
#
xlThick = 4
#
xlThin = 2

excel.d.ras

列挙型 Excel.XlSortOrder

並べ替えの順序(昇順 / 降順)を指定する。

Microsoft のリファレンス

#
xlAscending = 1
#
xlDescending = 2

excel.d.ras

列挙型 Excel.XlSortOn

並べ替えの基準にする要素を指定する。

Microsoft のリファレンス

#
xlSortOnCellColor = 1
#
xlSortOnFontColor = 2
#
xlSortOnIcon = 3
#
xlSortOnValues = 0

excel.d.ras

列挙型 Excel.XlSortOrientation

並べ替えの方向を指定する。

Microsoft のリファレンス

#
xlSortColumns = 1
#
xlSortRows = 2

excel.d.ras

列挙型 Excel.XlSortMethod

日本語や中国語の並べ替え方法を指定する。

Microsoft のリファレンス

#
xlPinYin = 1
#
xlStroke = 2

excel.d.ras

列挙型 Excel.XlSortDataOption

数値に見える文字列を並べ替えでどう扱うかを指定する。

Microsoft のリファレンス

#
xlSortNormal = 0
#
xlSortTextAsNumbers = 1

excel.d.ras

列挙型 Excel.XlYesNoGuess

先頭行が見出しかどうかを指定する。

Microsoft のリファレンス

#
xlGuess = 0
#
xlNo = 2
#
xlYes = 1

excel.d.ras

列挙型 Excel.XlDeleteShiftDirection

セルを削除したあとに詰める方向を指定する。

Microsoft のリファレンス

#
xlShiftToLeft = -4159
#
xlShiftUp = -4162

excel.d.ras

列挙型 Excel.XlInsertShiftDirection

セルを挿入するときに既存のセルをずらす方向を指定する。

Microsoft のリファレンス

#
xlShiftDown = -4121
#
xlShiftToRight = -4161

excel.d.ras

列挙型 Excel.XlInsertFormatOrigin

挿入したセルの書式をどちら側からコピーするかを指定する。

Microsoft のリファレンス

#
xlFormatFromLeftOrAbove = 0
#
xlFormatFromRightOrBelow = 1

excel.d.ras

列挙型 Excel.XlEnableCancelKey

マクロ実行中の中断キーの扱いを指定する。

Microsoft のリファレンス

#
xlDisabled = 0
#
xlErrorHandler = 2
#
xlInterrupt = 1

excel.d.ras

列挙型 Excel.XlMousePointer

マウス ポインターの形を指定する。

Microsoft のリファレンス

#
xlDefault = -4143
#
xlIBeam = 3
#
xlNorthwestArrow = 1
#
xlWait = 2

excel.d.ras

列挙型 Excel.XlWindowState

ウィンドウの状態を指定する。

Microsoft のリファレンス

#
xlMaximized = -4137
#
xlMinimized = -4140
#
xlNormal = -4143

excel.d.ras

列挙型 Excel.XlWindowView

ウィンドウの表示モードを指定する。

Microsoft のリファレンス

#
xlNormalView = 1
#
xlPageBreakPreview = 2
#
xlPageLayoutView = 3

excel.d.ras

列挙型 Excel.XlWindowType

ウィンドウの種類を表す。

Microsoft のリファレンス

#
xlChartAsWindow = 5
#
xlChartInPlace = 4
#
xlClipboard = 3
#
xlInfo = -4129
#
xlWorkbook = 1

excel.d.ras

列挙型 Excel.XlArrangeStyle

ウィンドウの整列方法を指定する。

Microsoft のリファレンス

#
xlArrangeStyleCascade = 7
#
xlArrangeStyleHorizontal = -4128
#
xlArrangeStyleTiled = 1
#
xlArrangeStyleVertical = -4166

excel.d.ras

列挙型 Excel.XlAutoFillType

オートフィルの方法を指定する。

Microsoft のリファレンス

#
xlFillCopy = 1
#
xlFillDays = 5
#
xlFillDefault = 0
#
xlFillFormats = 3
#
xlFillMonths = 7
#
xlFillSeries = 2
#
xlFillValues = 4
#
xlFillWeekdays = 6
#
xlFillYears = 8
#
xlGrowthTrend = 10
#
xlLinearTrend = 9
#
xlFlashFill = 11

excel.d.ras

列挙型 Excel.XlAutoFilterOperator

オートフィルターで 2 つの条件を結ぶ演算子や、フィルターの種類を指定する。

Microsoft のリファレンス

#
xlAnd = 1
#
xlBottom10Items = 4
#
xlBottom10Percent = 6
#
xlFilterCellColor = 8
#
xlFilterDynamic = 11
#
xlFilterFontColor = 9
#
xlFilterIcon = 10
#
xlFilterValues = 7
#
xlOr = 2
#
xlTop10Items = 3
#
xlTop10Percent = 5

excel.d.ras

列挙型 Excel.XlPattern

塗りつぶしのパターンを指定する。

Microsoft のリファレンス

#
xlPatternAutomatic = -4105
#
xlPatternChecker = 9
#
xlPatternCrissCross = 16
#
xlPatternDown = -4121
#
xlPatternGray16 = 17
#
xlPatternGray25 = -4124
#
xlPatternGray50 = -4125
#
xlPatternGray75 = -4126
#
xlPatternGray8 = 18
#
xlPatternGrid = 15
#
xlPatternHorizontal = -4128
#
xlPatternLightDown = 13
#
xlPatternLightHorizontal = 11
#
xlPatternLightUp = 14
#
xlPatternLightVertical = 12
#
xlPatternNone = -4142
#
xlPatternSemiGray75 = 10
#
xlPatternSolid = 1
#
xlPatternUp = -4162
#
xlPatternVertical = -4166

excel.d.ras

列挙型 Excel.XlColorIndex

カラー パレットのインデックスの特別な値(自動 / なし)を表す。

Microsoft のリファレンス

#
xlColorIndexAutomatic = -4105
#
xlColorIndexNone = -4142

excel.d.ras

列挙型 Excel.XlUnderlineStyle

下線の種類を指定する。

Microsoft のリファレンス

#
xlUnderlineStyleDouble = -4119
#
xlUnderlineStyleDoubleAccounting = 5
#
xlUnderlineStyleNone = -4142
#
xlUnderlineStyleSingle = 2
#
xlUnderlineStyleSingleAccounting = 4

excel.d.ras

列挙型 Excel.XlReferenceStyle

セル参照の形式を指定する。

Microsoft のリファレンス

#
xlA1 = 1
#
xlR1C1 = -4150

excel.d.ras

列挙型 Excel.XlReferenceType

数式を変換するときの参照の種類(絶対 / 相対)を指定する。

Microsoft のリファレンス

#
xlAbsolute = 1
#
xlAbsRowRelColumn = 2
#
xlRelative = 4
#
xlRelRowAbsColumn = 3

excel.d.ras

列挙型 Excel.XlSaveAsAccessMode

ブックを保存するときの共有モードを指定する。

Microsoft のリファレンス

#
xlExclusive = 3
#
xlNoChange = 1
#
xlShared = 2

excel.d.ras

列挙型 Excel.XlSaveAction

ブックを閉じるときに変更を保存するかどうかを指定する。

Microsoft のリファレンス

#
xlDoNotSaveChanges = 2
#
xlSaveChanges = 1

excel.d.ras

列挙型 Excel.XlFileAccess

ブックのアクセス モードを指定する。

Microsoft のリファレンス

#
xlReadOnly = 3
#
xlReadWrite = 2

excel.d.ras

列挙型 Excel.XlCorruptLoad

ブックを開くときの修復方法を指定する。

Microsoft のリファレンス

#
xlExtractData = 2
#
xlNormalLoad = 0
#
xlRepairFile = 1

excel.d.ras

列挙型 Excel.XlLinkType

リンクの種類を指定する。

Microsoft のリファレンス

excel.d.ras

列挙型 Excel.XlRunAutoMacro

実行する自動マクロの種類を指定する。

Microsoft のリファレンス

#
xlAutoActivate = 3
#
xlAutoClose = 2
#
xlAutoDeactivate = 4
#
xlAutoOpen = 1

excel.d.ras

列挙型 Excel.XlRangeValueDataType

Range.Value で取得するデータの形式を指定する。

Microsoft のリファレンス

#
xlRangeValueDefault = 10
#
xlRangeValueMSPersistXML = 12
#
xlRangeValueXMLSpreadsheet = 11

excel.d.ras

列挙型 Excel.XlCutCopyMode

切り取りモードかコピー モードかを表す。

Microsoft のリファレンス

#
xlCopy = 1
#
xlCut = 2

excel.d.ras

列挙型 Excel.XlFixedFormatType

出力する固定レイアウト形式(PDF / XPS)を指定する。

Microsoft のリファレンス

#
xlTypePDF = 0
#
xlTypeXPS = 1

excel.d.ras

列挙型 Excel.XlFixedFormatQuality

PDF / XPS 出力の品質を指定する。

Microsoft のリファレンス

#
xlQualityMinimum = 1
#
xlQualityStandard = 0

excel.d.ras

列挙型 Excel.XlPageOrientation

用紙の向きを指定する。

Microsoft のリファレンス

#
xlLandscape = 2
#
xlPortrait = 1

excel.d.ras

列挙型 Excel.XlPaperSize

用紙サイズを指定する。

Microsoft のリファレンス

#
xlPaper10x14 = 16
#
xlPaper11x17 = 17
#
xlPaperA3 = 8
#
xlPaperA4 = 9
#
xlPaperA4Small = 10
#
xlPaperA5 = 11
#
xlPaperB4 = 12
#
xlPaperB5 = 13
#
xlPaperCsheet = 24
#
xlPaperDsheet = 25
#
xlPaperEnvelope10 = 20
#
xlPaperEnvelope11 = 21
#
xlPaperEnvelope12 = 22
#
xlPaperEnvelope14 = 23
#
xlPaperEnvelope9 = 19
#
xlPaperEnvelopeB4 = 33
#
xlPaperEnvelopeB5 = 34
#
xlPaperEnvelopeB6 = 35
#
xlPaperEnvelopeC3 = 29
#
xlPaperEnvelopeC4 = 30
#
xlPaperEnvelopeC5 = 28
#
xlPaperEnvelopeC6 = 31
#
xlPaperEnvelopeC65 = 32
#
xlPaperEnvelopeDL = 27
#
xlPaperEnvelopeItaly = 36
#
xlPaperEnvelopeMonarch = 37
#
xlPaperEnvelopePersonal = 38
#
xlPaperEsheet = 26
#
xlPaperExecutive = 7
#
xlPaperFanfoldLegalGerman = 41
#
xlPaperFanfoldStdGerman = 40
#
xlPaperFanfoldUS = 39
#
xlPaperFolio = 14
#
xlPaperLedger = 4
#
xlPaperLegal = 5
#
xlPaperLetter = 1
#
xlPaperLetterSmall = 2
#
xlPaperNote = 18
#
xlPaperQuarto = 15
#
xlPaperStatement = 6
#
xlPaperTabloid = 3
#
xlPaperUser = 256

excel.d.ras

列挙型 Excel.XlOrder

複数ページに分かれるときのページの順序を指定する。

Microsoft のリファレンス

#
xlDownThenOver = 1
#
xlOverThenDown = 2

excel.d.ras

列挙型 Excel.XlPrintLocation

コメントの印刷位置を指定する。

Microsoft のリファレンス

#
xlPrintInPlace = 16
#
xlPrintNoComments = -4142
#
xlPrintSheetEnd = 1

excel.d.ras

列挙型 Excel.XlPrintErrors

エラー値の印刷方法を指定する。

Microsoft のリファレンス

#
xlPrintErrorsBlank = 1
#
xlPrintErrorsDash = 2
#
xlPrintErrorsDisplayed = 0
#
xlPrintErrorsNA = 3

excel.d.ras

列挙型 Excel.XlListObjectSourceType

テーブルのデータ ソースの種類を指定する。

Microsoft のリファレンス

#
xlSrcExternal = 0
#
xlSrcModel = 4
#
xlSrcQuery = 3
#
xlSrcRange = 1
#
xlSrcXml = 2

excel.d.ras

列挙型 Excel.XlTotalsCalculation

テーブルの集計行での集計方法を指定する。

Microsoft のリファレンス

#
xlTotalsCalculationAverage = 2
#
xlTotalsCalculationCount = 3
#
xlTotalsCalculationCountNums = 4
#
xlTotalsCalculationCustom = 9
#
xlTotalsCalculationMax = 6
#
xlTotalsCalculationMin = 5
#
xlTotalsCalculationNone = 0
#
xlTotalsCalculationStdDev = 7
#
xlTotalsCalculationSum = 1
#
xlTotalsCalculationVar = 8

excel.d.ras

列挙型 Excel.XlDVType

入力規則の種類を指定する。

Microsoft のリファレンス

#
xlValidateCustom = 7
#
xlValidateDate = 4
#
xlValidateDecimal = 2
#
xlValidateInputOnly = 0
#
xlValidateList = 3
#
xlValidateTextLength = 6
#
xlValidateTime = 5
#
xlValidateWholeNumber = 1

excel.d.ras

列挙型 Excel.XlDVAlertStyle

入力規則のエラー メッセージのスタイルを指定する。

Microsoft のリファレンス

#
xlValidAlertInformation = 3
#
xlValidAlertStop = 1
#
xlValidAlertWarning = 2

excel.d.ras

列挙型 Excel.XlFormatConditionType

条件付き書式の種類を指定する。

Microsoft のリファレンス

#
xlAboveAverageCondition = 12
#
xlBlanksCondition = 10
#
xlCellValue = 1
#
xlColorScale = 3
#
xlDataBar = 4
#
xlErrorsCondition = 16
#
xlExpression = 2
#
xlIconSet = 6
#
xlNoBlanksCondition = 13
#
xlNoErrorsCondition = 17
#
xlTextString = 9
#
xlTimePeriod = 11
#
xlTop10 = 5
#
xlUniqueValues = 8

excel.d.ras

列挙型 Excel.XlFormatConditionOperator

条件付き書式や入力規則の比較演算子を指定する。

Microsoft のリファレンス

#
xlBetween = 1
#
xlEqual = 3
#
xlGreater = 5
#
xlGreaterEqual = 7
#
xlLess = 6
#
xlLessEqual = 8
#
xlNotBetween = 2
#
xlNotEqual = 4

excel.d.ras

列挙型 Excel.XlTextParsingType

テキストを列に分割する方法(区切り文字 / 固定幅)を指定する。

Microsoft のリファレンス

#
xlDelimited = 1
#
xlFixedWidth = 2

excel.d.ras

列挙型 Excel.XlTextQualifier

文字列の引用符を指定する。

Microsoft のリファレンス

#
xlTextQualifierDoubleQuote = 1
#
xlTextQualifierNone = -4142
#
xlTextQualifierSingleQuote = 2

excel.d.ras

列挙型 Excel.XlColumnDataType

テキストを取り込むときの列のデータ形式を指定する。

Microsoft のリファレンス

#
xlDMYFormat = 4
#
xlDYMFormat = 7
#
xlEMDFormat = 10
#
xlGeneralFormat = 1
#
xlMDYFormat = 3
#
xlMYDFormat = 6
#
xlSkipColumn = 9
#
xlTextFormat = 2
#
xlYDMFormat = 8
#
xlYMDFormat = 5

excel.d.ras

列挙型 Excel.XlConsolidationFunction

小計や統合で使う集計方法を指定する。

Microsoft のリファレンス

#
xlAverage = -4106
#
xlCount = -4112
#
xlCountNums = -4113
#
xlDistinctCount = 11
#
xlMax = -4136
#
xlMin = -4139
#
xlProduct = -4149
#
xlStDev = -4155
#
xlStDevP = -4156
#
xlSum = -4157
#
xlUnknown = 1000
#
xlVar = -4164
#
xlVarP = -4165

excel.d.ras

列挙型 Excel.XlSummaryRow

小計行をデータの上下どちらに置くかを指定する。

Microsoft のリファレンス

#
xlSummaryAbove = 0
#
xlSummaryBelow = 1

excel.d.ras

列挙型 Excel.XlFilterAction

フィルター オプションで、抽出結果を同じ場所に表示するか別の場所にコピーするかを指定する。

Microsoft のリファレンス

#
xlFilterCopy = 2
#
xlFilterInPlace = 1

excel.d.ras

列挙型 Excel.XlFillWith

複数シートへコピーする要素を指定する。

Microsoft のリファレンス

#
xlFillWithAll = -4104
#
xlFillWithContents = 2
#
xlFillWithFormats = -4122

excel.d.ras

列挙型 Excel.XlEnableSelection

保護されたシートで選択できるセルを指定する。

Microsoft のリファレンス

#
xlNoRestrictions = 0
#
xlNoSelection = -4142
#
xlUnlockedCells = 1

excel.d.ras

列挙型 Excel.XlPlacement

図形をセルの移動やサイズ変更にどう追従させるかを指定する。

Microsoft のリファレンス

#
xlFreeFloating = 3
#
xlMove = 2
#
xlMoveAndSize = 1

excel.d.ras

列挙型 Excel.XlFormControl

フォーム コントロールの種類を指定する。

Microsoft のリファレンス

#
xlButtonControl = 0
#
xlCheckBox = 1
#
xlDropDown = 2
#
xlEditBox = 3
#
xlGroupBox = 4
#
xlLabel = 5
#
xlListBox = 6
#
xlOptionButton = 7
#
xlScrollBar = 8
#
xlSpinner = 9

excel.d.ras

列挙型 Excel.XlPictureAppearance

図としてコピーするときの見た目(画面表示 / 印刷時)を指定する。

Microsoft のリファレンス

#
xlPrinter = 2
#
xlScreen = 1

excel.d.ras

列挙型 Excel.XlCopyPictureFormat

図としてコピーするときの画像形式を指定する。

Microsoft のリファレンス

#
xlBitmap = 2
#
xlPicture = -4147

excel.d.ras

列挙型 Excel.XlChartType

グラフの種類を指定する(よく使うもののみ)。

Microsoft のリファレンス

#
xlColumnClustered = 51
#
xlColumnStacked = 52
#
xlColumnStacked100 = 53
#
xl3DColumnClustered = 54
#
xl3DColumnStacked = 55
#
xl3DColumnStacked100 = 56
#
xl3DColumn = -4100
#
xlBarClustered = 57
#
xlBarStacked = 58
#
xlBarStacked100 = 59
#
xl3DBarClustered = 60
#
xl3DBarStacked = 61
#
xl3DBarStacked100 = 62
#
xlLine = 4
#
xlLineStacked = 63
#
xlLineStacked100 = 64
#
xlLineMarkers = 65
#
xlLineMarkersStacked = 66
#
xlLineMarkersStacked100 = 67
#
xl3DLine = -4101
#
xlPie = 5
#
xlPieExploded = 69
#
xl3DPie = -4102
#
xl3DPieExploded = 70
#
xlPieOfPie = 68
#
xlBarOfPie = 71
#
xlDoughnut = -4120
#
xlDoughnutExploded = 80
#
xlXYScatter = -4169
#
xlXYScatterLines = 74
#
xlXYScatterLinesNoMarkers = 75
#
xlXYScatterSmooth = 72
#
xlXYScatterSmoothNoMarkers = 73
#
xlArea = 1
#
xlAreaStacked = 76
#
xlAreaStacked100 = 77
#
xl3DArea = -4098
#
xl3DAreaStacked = 78
#
xl3DAreaStacked100 = 79
#
xlBubble = 15
#
xlBubble3DEffect = 87
#
xlRadar = -4151
#
xlRadarMarkers = 81
#
xlRadarFilled = 82
#
xlSurface = 83
#
xlSurfaceWireframe = 84
#
xlSurfaceTopView = 85
#
xlSurfaceTopViewWireframe = 86
#
xlStockHLC = 88
#
xlStockOHLC = 89
#
xlStockVHLC = 90
#
xlStockVOHLC = 91
#
xlTreemap = 117
#
xlHistogram = 118
#
xlWaterfall = 119
#
xlSunburst = 120
#
xlBoxwhisker = 121
#
xlPareto = 122
#
xlFunnel = 123

excel.d.ras

列挙型 Excel.XlChartLocation

グラフの移動先を指定する。

Microsoft のリファレンス

#
xlLocationAsNewSheet = 1
#
xlLocationAsObject = 2
#
xlLocationAutomatic = 3

excel.d.ras

列挙型 Excel.XlRowCol

データ系列を行と列のどちらから取るかを指定する。

Microsoft のリファレンス

#
xlColumns = 2
#
xlRows = 1

excel.d.ras

列挙型 Excel.XlAxisType

グラフの軸の種類を指定する。

Microsoft のリファレンス

#
xlCategory = 1
#
xlSeriesAxis = 3
#
xlValue = 2

excel.d.ras

列挙型 Excel.XlAxisGroup

グラフの軸のグループ(主軸 / 第 2 軸)を指定する。

Microsoft のリファレンス

#
xlPrimary = 1
#
xlSecondary = 2

excel.d.ras

列挙型 Excel.XlLegendPosition

凡例の位置を指定する。

Microsoft のリファレンス

#
xlLegendPositionBottom = -4107
#
xlLegendPositionCorner = 2
#
xlLegendPositionCustom = -4161
#
xlLegendPositionLeft = -4131
#
xlLegendPositionRight = -4152
#
xlLegendPositionTop = -4160

excel.d.ras

列挙型 Excel.XlDisplayBlanksAs

グラフで空白セルをどう描くかを指定する。

Microsoft のリファレンス

#
xlInterpolated = 3
#
xlNotPlotted = 1
#
xlZero = 2

excel.d.ras

列挙型 Excel.XlCVError

セルのエラー値に対応するエラー番号。CVErr に渡してエラー値を作る。

Microsoft のリファレンス

#
xlErrDiv0 = 2007
#
xlErrNA = 2042
#
xlErrName = 2029
#
xlErrNull = 2000
#
xlErrNum = 2036
#
xlErrRef = 2023
#
xlErrValue = 2015
#
xlErrSpill = 2045

excel.d.ras

列挙型 Excel.XlThemeColor

テーマの配色の色を指定する。

Microsoft のリファレンス

#
xlThemeColorAccent1 = 5
#
xlThemeColorAccent2 = 6
#
xlThemeColorAccent3 = 7
#
xlThemeColorAccent4 = 8
#
xlThemeColorAccent5 = 9
#
xlThemeColorAccent6 = 10
#
xlThemeColorDark1 = 1
#
xlThemeColorDark2 = 3
#
xlThemeColorLight1 = 2
#
xlThemeColorLight2 = 4

excel.d.ras

列挙型 Excel.XlThemeFont

テーマのフォントを指定する。

Microsoft のリファレンス

#
xlThemeFontMajor = 1
#
xlThemeFontMinor = 2
#
xlThemeFontNone = 0

excel.d.ras

列挙型 Excel.XlApplicationInternational

Application.International で取得する国や地域の設定項目を指定する。

Microsoft のリファレンス

#
xl24HourClock = 33
#
xl4DigitYears = 43
#
xlAlternateArraySeparator = 16
#
xlColumnSeparator = 14
#
xlCountryCode = 1
#
xlCountrySetting = 2
#
xlCurrencyBefore = 37
#
xlCurrencyCode = 25
#
xlCurrencyDigits = 27
#
xlCurrencyLeadingZeros = 40
#
xlCurrencyMinusSign = 38
#
xlCurrencyNegative = 28
#
xlCurrencySpaceBefore = 36
#
xlCurrencyTrailingZeros = 39
#
xlDateOrder = 32
#
xlDateSeparator = 17
#
xlDayCode = 21
#
xlDayLeadingZero = 42
#
xlDecimalSeparator = 3
#
xlGeneralFormatName = 26
#
xlHourCode = 22
#
xlLeftBrace = 12
#
xlLeftBracket = 10
#
xlListSeparator = 5
#
xlLowerCaseColumnLetter = 9
#
xlLowerCaseRowLetter = 8
#
xlMDY = 44
#
xlMetric = 35
#
xlMinuteCode = 23
#
xlMonthCode = 20
#
xlMonthLeadingZero = 41
#
xlMonthNameChars = 30
#
xlNoncurrencyDigits = 29
#
xlNonEnglishFunctions = 34
#
xlRightBrace = 13
#
xlRightBracket = 11
#
xlRowSeparator = 15
#
xlSecondCode = 24
#
xlThousandsSeparator = 4
#
xlTimeLeadingZero = 45
#
xlTimeSeparator = 18
#
xlUpperCaseColumnLetter = 7
#
xlUpperCaseRowLetter = 6
#
xlWeekdayNameChars = 31
#
xlYearCode = 19

excel.d.ras

グローバル application

const application: Excel.Application

VBA: Application

Excel アプリケーション本体。

Microsoft のリファレンス

excel.d.ras

グローバル thisWorkbook

const thisWorkbook: Excel.Workbook

VBA: ThisWorkbook

実行中のマクロが入っているブック。

Microsoft のリファレンス

excel.d.ras

グローバル activeWorkbook

const activeWorkbook: Excel.Workbook

VBA: ActiveWorkbook

アクティブなブック。ブックが開いていなければ Nothing。

Microsoft のリファレンス

excel.d.ras

グローバル activeSheet

const activeSheet: Excel.Worksheet | Excel.Chart

VBA: ActiveSheet

アクティブなシート(ワークシートまたはグラフ シート)。ブックが開いていなければ Nothing。

Microsoft のリファレンス

excel.d.ras

グローバル activeCell

const activeCell: Excel.Range

VBA: ActiveCell

アクティブなセル。

Microsoft のリファレンス

excel.d.ras

グローバル activeWindow

const activeWindow: Excel.Window

VBA: ActiveWindow

アクティブなウィンドウ。

Microsoft のリファレンス

excel.d.ras

グローバル selection

const selection: object

VBA: Selection

現在選択されているオブジェクト。Object 型。

Microsoft のリファレンス

excel.d.ras

グローバル workbooks

const workbooks: Excel.Workbooks

VBA: Workbooks

開いているすべてのブックのコレクション。

Microsoft のリファレンス

excel.d.ras

グローバル worksheets

const worksheets: Excel.Sheets<Excel.Worksheet>

VBA: Worksheets

アクティブ ブックのすべてのワークシート。

Microsoft のリファレンス

excel.d.ras

グローバル sheets

const sheets: Excel.Sheets

VBA: Sheets

アクティブ ブックのすべてのシート(グラフ シートを含む)。

Microsoft のリファレンス

excel.d.ras

グローバル names

const names: Excel.Names

VBA: Names

アクティブ ブックの名前定義のコレクション。

Microsoft のリファレンス

excel.d.ras

グローバル windows

const windows: Excel.Windows

VBA: Windows

すべてのウィンドウのコレクション。

Microsoft のリファレンス

excel.d.ras

グローバル worksheetFunction

const worksheetFunction: Excel.WorksheetFunction

VBA: WorksheetFunction

ワークシート関数を VBA から呼び出すためのオブジェクト。

Microsoft のリファレンス

excel.d.ras

関数 range

function range(cell1: any, cell2?: any): Excel.Range

VBA: Range

アクティブ シート上のセルまたはセル範囲を返す。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

excel.d.ras

関数 cells

function cells(row?: any, col?: any): Excel.Range

VBA: Cells

アクティブ シートのセルを返す。引数なしなら全セル。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

excel.d.ras

関数 rows

function rows(index?: any): Excel.Range

VBA: Rows

アクティブ シートの行を返す。引数なしなら全行。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

excel.d.ras

関数 columns

function columns(index?: any): Excel.Range

VBA: Columns

アクティブ シートの列を返す。引数なしなら全列。

引数のあるプロパティです(x(…) = 値 と代入できます)。

Microsoft のリファレンス

excel.d.ras

関数 union

function union(arg1: Excel.Range, arg2: Excel.Range, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): Excel.Range

VBA: Union

複数のセル範囲を 1 つにまとめた範囲を返す。

Microsoft のリファレンス

excel.d.ras

関数 intersect

function intersect(arg1: Excel.Range, arg2: Excel.Range, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): Excel.Range

VBA: Intersect

複数のセル範囲の共通部分を返す。重なりがなければ Nothing。

Microsoft のリファレンス

excel.d.ras

関数 evaluate

function evaluate(name: any): cellValue

VBA: Evaluate

名前や数式の文字列を評価して、オブジェクトまたは値にする。

Microsoft のリファレンス

excel.d.ras

関数 run

function run(macro: any, arg1?: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): any

VBA: Run

マクロまたは関数を名前で呼び出す。

Microsoft のリファレンス

excel.d.ras