型定義(Excel・VBA)
Excel
RAS に同梱している Excel オブジェクト モデルの型定義(抜粋)です。補完・型チェックに使われ、ここに無いメンバーはエラーになります(object 型の値のメンバーは遅延バインディングになり、検査しません)。
- メンバーとグローバルは、RAS のソースでは camelCase で書きます(
ws.cells(r, 1).value、application.screenUpdating)。生成される VBA にはタイプ ライブラリの綴り(Cells、ScreenUpdating)が出力されます。各項目の「VBA:」がその綴りです。VBA の綴りで書いても動きますが警告になり、ras check --fixで書き換えられます。 - 型の名前は
Excel.Rangeのように名前空間を付けて書きます。列挙型の定数(xlUp、xlSheetVisible)は修飾なしで書けます。 - VBA で引数を取れるプロパティ(
Cells・Range・Offsetなど)はメソッドとして宣言しています。引数がすべて省略できるものは括弧なしでも書けます(ws.cells)。 - Excel なしの実行(
ras run/ras test・プレイグラウンド)で使えるメンバーは一部です。ras check --target stand-inで、使えないメンバーを実行前に警告できます。
拡張メソッド(range.lastRow()・ws.find()・book.sheet() など)は Range・シート・ブック にあります。
リファレンス
インターフェイス Excel.Application
Excel アプリケーション全体を表す。
- #
screenUpdating: boolean
画面の再描画を行うかどうか。
falseにするとマクロが速くなる。VBA:
ScreenUpdating- #
enableEvents: boolean
イベントを発生させるかどうか。
VBA:
EnableEvents- #
calculation: XlCalculation
再計算モード(自動 / 手動)。開いているブックがないと設定に失敗する。
VBA:
Calculation- #
displayAlerts: boolean
確認メッセージや警告を表示するかどうか。
VBA:
DisplayAlerts- #
statusBar: string | boolean
ステータス バーの文字列。
falseを代入すると Excel の既定表示に戻る。 Excel が表示を管理しているときはfalseを返す。VBA:
StatusBar- #
displayStatusBar: boolean
ステータス バーを表示するかどうか。
VBA:
DisplayStatusBar- #
cursor: XlMousePointer
マウス ポインターの形。
VBA:
Cursor- #
interactive: boolean
キーボードとマウスからの入力を受け付けるかどうか。
VBA:
Interactive- #
enableCancelKey: XlEnableCancelKey
マクロ実行中の Esc / Ctrl+Break の扱い。
VBA:
EnableCancelKey- #
cutCopyMode: XlCutCopyMode
切り取り / コピー モードの状態。解除するには 0(VBA の
False)を代入する。VBA:
CutCopyMode- #
caption: string
タイトル バーに表示する名前。
VBA:
Caption- #
readonly version: string
Excel のバージョン番号("16.0" など)。
VBA:
Version- #
readonly operatingSystem: string
OS の名前とバージョン。
VBA:
OperatingSystem- #
userName: string
現在のユーザー名。
VBA:
UserName- #
readonly hwnd: int
Excel のメイン ウィンドウのハンドル。
VBA:
Hwnd- #
readonly activeWorkbook: Workbook
アクティブなブック。ブックが開いていなければ Nothing。
VBA:
ActiveWorkbook- #
readonly activeSheet: Worksheet | Chart
アクティブなシート(ワークシートまたはグラフ シート)。ブックが開いていなければ Nothing。
VBA:
ActiveSheet- #
readonly activeCell: Range
アクティブなセル。
VBA:
ActiveCell- #
readonly activeWindow: Window
アクティブなウィンドウ。
VBA:
ActiveWindow- #
readonly activeChart: Chart
アクティブなグラフ。
VBA:
ActiveChart- #
readonly selection: object
現在選択されているオブジェクト(セル範囲なら Range)。
VBA:
Selection- #
readonly thisWorkbook: Workbook
実行中のマクロが入っているブック。
VBA:
ThisWorkbook- #
readonly thisCell: Range
ユーザー定義関数を呼び出しているセル。
VBA:
ThisCell- #
readonly workbooks: Workbooks
開いているすべてのブックのコレクション。
VBA:
Workbooks- #
readonly worksheets: Sheets<Worksheet>
アクティブ ブックのすべてのワークシート。
VBA:
Worksheets- #
readonly sheets: Sheets
アクティブ ブックのすべてのシート(グラフ シートを含む)。
VBA:
Sheets- #
readonly charts: Sheets<Chart>
アクティブ ブックのすべてのグラフ シート。
VBA:
Charts- #
readonly windows: Windows
すべてのウィンドウのコレクション。
VBA:
Windows- #
readonly names: Names
アクティブ ブックの名前定義のコレクション。
VBA:
Names- #
readonly worksheetFunction: WorksheetFunction
ワークシート関数を VBA から呼び出すためのオブジェクト。
VBA:
WorksheetFunction- #
range(cell1: any, cell2?: any): Range
アクティブ シート上のセルまたはセル範囲を返す。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Range- #
cells(row?: any, col?: any): Range
アクティブ シートのセルを返す。引数なしなら全セル。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Cells- #
rows(index?: any): Range
アクティブ シートの行を返す。引数なしなら全行。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Rows- #
columns(index?: any): Range
アクティブ シートの列を返す。引数なしなら全列。
引数のあるプロパティです(
x(…) = 値と代入できます)。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 つにまとめた範囲を返す。
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。
VBA:
Intersect- #
evaluate(name: any): cellValue
名前や数式の文字列を評価して、オブジェクトまたは値にする。
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
マクロまたは関数を名前で呼び出す。
VBA:
Run- #
onTime(earliestTime: any, procedure: string, latestTime?: any, schedule?: any): void
指定した時刻にプロシージャを実行するよう予約する。
VBA:
OnTime- #
onKey(key: string, procedure?: any): void
キー操作にプロシージャを割り当てる。
VBA:
OnKey- #
wait(time: any): boolean
指定した時刻までマクロを一時停止する。
VBA:
Wait- #
calculate(): void
開いているすべてのブックを再計算する。
VBA:
Calculate- #
calculateFull(): void
開いているすべてのブックを強制的に完全再計算する。
VBA:
CalculateFull- #
calculateFullRebuild(): void
依存関係を作り直してから完全再計算する。
VBA:
CalculateFullRebuild- #
inputBox(prompt: string, title?: any, defaultValue?: any, left?: any, top?: any, helpFile?: any, helpContextId?: any, type?: any): any
入力ダイアログを表示する。
typeで受け取る値の種類(数値・セル範囲など)を指定できる。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 始まりに直して返す。VBA:
GetOpenFilename- #
getSaveAsFilename(initialFilename?: any, fileFilter?: any, filterIndex?: any, title?: any, buttonText?: any): string | boolean
[名前を付けて保存] ダイアログを表示してパスを返す(キャンセル時は
false)。保存はしない。VBA:
GetSaveAsFilename- #
fileDialog(fileDialogType: Office.MsoFileDialogType): Office.FileDialog
ファイル / フォルダー選択ダイアログのオブジェクトを返す。
VBA:
FileDialog- #
goto(reference?: any, scroll?: any): void
指定したセル範囲またはプロシージャへ移動して選択する。
VBA:
Goto- #
quit(): void
Excel を終了する。
VBA:
Quit- #
volatile(volatile?: any): void
ユーザー定義関数を揮発性(再計算のたびに評価)にする。
VBA:
Volatile- #
caller(index?: any): any
マクロの呼び出し元の情報(セルから呼ばれた関数なら Range)を返す。
VBA:
Caller- #
international(index?: any): any
国や地域の設定(区切り文字など)を返す。
VBA:
International- #
readonly pathSeparator: string
パスの区切り文字。
VBA:
PathSeparator- #
decimalSeparator: string
小数点の記号。
VBA:
DecimalSeparator- #
thousandsSeparator: string
桁区切りの記号。
VBA:
ThousandsSeparator- #
match(arg1: cellValue, arg2: any, arg3?: any): cellValue
ワークシート関数 MATCH を呼び出す。見つからないときは実行時エラーではなくエラー値を返す。
VBA:
Match- #
index(arg1: any, arg2: any, arg3?: any, arg4?: any): cellValue
ワークシート関数 INDEX を呼び出す。失敗時はエラー値を返す。
VBA:
Index- #
vLookup(arg1: cellValue, arg2: any, arg3: any, arg4?: any): cellValue
ワークシート関数 VLOOKUP を呼び出す。見つからないときはエラー値を返す。
VBA:
VLookup- #
transpose(arg1: any): any
配列の行と列を入れ替える。
VBA:
Transpose- #
convertFormula(formula: any, fromReferenceStyle: XlReferenceStyle, toReferenceStyle?: any, toAbsolute?: any, relativeTo?: any): any
数式の参照形式(A1 / R1C1、相対 / 絶対)を変換する。
VBA:
ConvertFormula- #
readonly commandBars: object
コマンド バーのコレクション。
VBA:
CommandBars- #
readonly vbe: object
VBA エディターのオブジェクト モデル。
VBA:
VBE- #
readonly addIns: object
アドインのコレクション。
VBA:
AddIns- #
readonly comAddIns: object
COM アドインのコレクション。
VBA:
COMAddIns- #
referenceStyle: XlReferenceStyle
数式の参照形式(A1 / R1C1)。
VBA:
ReferenceStyle- #
readonly ready: boolean
Excel が操作を受け付けられる状態かどうか。
VBA:
Ready- #
readonly calculationState: XlCalculationState
計算の進行状態。
VBA:
CalculationState- #
readonly calculationVersion: int
計算エンジンのバージョン番号。
VBA:
CalculationVersion- #
moveAfterReturn: boolean
Enter キーを押したあとにアクティブ セルを移動するかどうか。
VBA:
MoveAfterReturn- #
moveAfterReturnDirection: XlDirection
Enter キーを押したあとの移動方向。
VBA:
MoveAfterReturnDirection- #
enableAnimations: boolean
行や列の挿入・削除をアニメーション表示するかどうか。
VBA:
EnableAnimations- #
printCommunication: boolean
プリンターとの通信を行うかどうか。
falseにすると PageSetup の設定が速くなる。VBA:
PrintCommunication- #
askToUpdateLinks: boolean
ブックを開くときにリンクの更新を確認するかどうか。
VBA:
AskToUpdateLinks- #
automationSecurity: Office.MsoAutomationSecurity
プログラムからファイルを開くときのマクロ セキュリティ。
VBA:
AutomationSecurity- #
displayFullScreen: boolean
全画面表示かどうか。
VBA:
DisplayFullScreen- #
windowState: XlWindowState
メイン ウィンドウの状態(最大化 / 最小化 / 標準)。
VBA:
WindowState- #
width: double
メイン ウィンドウの幅(ポイント)。
VBA:
Width- #
height: double
メイン ウィンドウの高さ(ポイント)。
VBA:
Height- #
left: double
メイン ウィンドウ左端の位置(ポイント)。
VBA:
Left- #
top: double
メイン ウィンドウ上端の位置(ポイント)。
VBA:
Top- #
visible: boolean
Excel のウィンドウを表示するかどうか。
VBA:
Visible- #
sendKeys(keys: any, wait?: any): void
アクティブなアプリケーションへキー操作を送る。
VBA:
SendKeys- #
undo(): void
直前のユーザー操作を取り消す。
VBA:
Undo- #
repeat(): void
直前のユーザー操作を繰り返す。
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.Workbooks
開いているすべてのブックのコレクション。
- #
(index: any): Workbook
インデックスまたはブック名でブックを返す(既定メンバー)。
- #
item(index: any): Workbook
インデックスまたはブック名でブックを返す。
VBA:
Item- #
readonly count: int
開いているブックの数。
VBA:
Count- #
add(template?: any): Workbook
新しいブックを作成する。
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
ブックを開く。
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
テキスト ファイルを区切り方を指定して新しいブックとして開く。
VBA:
OpenText- #
openXML(filename: string, stylesheets?: any, loadOption?: any): Workbook
XML データ ファイルを開く。
VBA:
OpenXML- #
close(): void
開いているすべてのブックを閉じる。
VBA:
Close- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.Workbook
Excel のブックを表す。
- #
readonly name: string
ブックのファイル名(パスなし)。
VBA:
Name- #
readonly fullName: string
パスを含む完全なファイル名。
VBA:
FullName- #
readonly path: string
ブックがあるフォルダーのパス。未保存なら空文字列。
VBA:
Path- #
saved: boolean
最後の保存以降に変更がなければ
true。trueを代入すると変更なし扱いになる。VBA:
Saved- #
readonly readOnly: boolean
読み取り専用で開いているかどうか。
VBA:
ReadOnly- #
readonly worksheets: Sheets<Worksheet>
ブック内のすべてのワークシート。
VBA:
Worksheets- #
readonly sheets: Sheets
ブック内のすべてのシート(グラフ シートを含む)。
VBA:
Sheets- #
readonly names: Names
ブックの名前定義のコレクション。
VBA:
Names- #
readonly windows: Windows
ブックを表示しているウィンドウのコレクション。
VBA:
Windows- #
readonly activeSheet: Worksheet | Chart
ブックでアクティブなシート。
VBA:
ActiveSheet- #
save(): void
ブックを上書き保存する。
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
別名または別形式で保存する。
VBA:
SaveAs- #
saveCopyAs(filename: any): void
開いているブックはそのままに、コピーをファイルへ保存する。
VBA:
SaveCopyAs- #
close(saveChanges?: any, filename?: any, routeWorkbook?: any): void
ブックを閉じる。
VBA:
Close- #
activate(): void
ブックをアクティブにする。
VBA:
Activate- #
protect(password?: any, structure?: any, windows?: any): void
ブックの構成やウィンドウを保護する。
VBA:
Protect- #
unprotect(password?: any): void
ブックの保護を解除する。
VBA:
Unprotect- #
refreshAll(): void
外部データ範囲とピボットテーブルをすべて更新する。
VBA:
RefreshAll- #
readonly fileFormat: XlFileFormat
ブックのファイル形式。
VBA:
FileFormat- #
readonly hasVBProject: boolean
VBA プロジェクトを持っているかどうか。
VBA:
HasVBProject- #
readonly vbProject: object
ブックの VBA プロジェクト(VBIDE.VBProject)。
VBA:
VBProject- #
readonly builtinDocumentProperties: object
組み込みのドキュメント プロパティ(作成者・タイトルなど)。
VBA:
BuiltinDocumentProperties- #
readonly customDocumentProperties: object
ユーザー設定のドキュメント プロパティ。
VBA:
CustomDocumentProperties- #
readonly application: Application
ブックが属する Application オブジェクト。
VBA:
Application- #
readonly parent: object
親オブジェクト。
VBA:
Parent- #
readonly codeName: string
ブック モジュールのコード名(既定は ThisWorkbook)。
VBA:
CodeName- #
date1904: boolean
1904 年から計算する日付システムを使うかどうか。
VBA:
Date1904- #
exportAsFixedFormat(type: XlFixedFormatType, filename?: any, quality?: any, includeDocProperties?: any, ignorePrintAreas?: any, from?: any, to?: any, openAfterPublish?: any, fixedFormatExtClassPtr?: any): void
PDF または XPS 形式で出力する。
VBA:
ExportAsFixedFormat- #
printOut(from?: any, to?: any, copies?: any, preview?: any, activePrinter?: any, printToFile?: any, collate?: any, prToFileName?: any, ignorePrintAreas?: any): void
ブックを印刷する。
VBA:
PrintOut- #
readonly connections: object
外部データ接続のコレクション。
VBA:
Connections- #
readonly queries: object
Power Query のクエリのコレクション。
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- #
updateLinks: XlUpdateLinks
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- #
changeLink(name: string, newName: string, type?: XlLinkType): void
VBA:
ChangeLink- #
breakLink(name: string, type: XlLinkType): void
VBA:
BreakLink- #
linkSources(type?: any): any
VBA:
LinkSources- #
updateLink(name?: any, type?: any): void
VBA:
UpdateLink- #
runAutoMacros(which: XlRunAutoMacro): void
VBA:
RunAutoMacros- #
followHyperlink(address: string, subAddress?: any, newWindow?: any, addHistory?: any, extraInfo?: any, method?: any, headerInfo?: any): void
VBA:
FollowHyperlink- #
deleteNumberFormat(numberFormat: string): void
VBA:
DeleteNumberFormat- #
resetColors(): void
VBA:
ResetColors
インターフェイス Excel.Sheets
interface Sheets<T = Worksheet | Chart>
ブック内のシート(ワークシート / グラフ シート)のコレクション。
- #
(index: any): T
インデックスまたはシート名でシートを返す(既定メンバー)。
- #
item(index: any): T
インデックスまたはシート名でシートを返す。
VBA:
Item- #
readonly count: int
シートの数。
VBA:
Count- #
add(before?: any, after?: any, count?: any, type?: any): T
新しいシートを追加してアクティブにする。
VBA:
Add- #
copy(before?: any, after?: any): void
シートをコピーする。位置を省略すると新しいブックに作られる。
VBA:
Copy- #
move(before?: any, after?: any): void
シートを移動する。位置を省略すると新しいブックに移る。
VBA:
Move- #
delete(): void
シートを削除する。
VBA:
Delete- #
select(replace?: any): void
シートを選択する。
VBA:
Select- #
printOut(from?: any, to?: any, copies?: any, preview?: any, activePrinter?: any, printToFile?: any, collate?: any, prToFileName?: any, ignorePrintAreas?: any): void
シートを印刷する。
VBA:
PrintOut- #
visible: any
シートを表示するかどうか。
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.Worksheet
ワークシートを表す。
- #
name: string
シート名(シート見出しに表示される名前)。
VBA:
Name- #
readonly codeName: string
シート モジュールのコード名。
VBA:
CodeName- #
readonly index: int
シートの並び順での位置(1 始まり)。
VBA:
Index- #
visible: XlSheetVisibility
シートの表示状態(表示 / 非表示 / ユーザーが再表示できない非表示)。
VBA:
Visible- #
cells(row?: any, col?: any): Range
シート上のセルを返す。引数なしなら全セル。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Cells- #
range(cell1: any, cell2?: any): Range
セルまたはセル範囲を返す。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Range- #
rows(index?: any): Range
シートの行を返す。引数なしなら全行。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Rows- #
columns(index?: any): Range
シートの列を返す。引数なしなら全列。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Columns- #
readonly usedRange: Range
使用されているセル範囲。
VBA:
UsedRange- #
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- #
delete(): void
シートを削除する。
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
シートを保護する。
VBA:
Protect- #
unprotect(password?: any): void
シートの保護を解除する。
VBA:
Unprotect- #
readonly protectContents: boolean
シートの内容が保護されているかどうか。
VBA:
ProtectContents- #
calculate(): void
このシートだけを再計算する。
VBA:
Calculate- #
paste(destination?: any, link?: any): void
クリップボードの内容をシートに貼り付ける。
VBA:
Paste- #
pasteSpecial(format?: any, link?: any, displayAsIcon?: any, iconFileName?: any, iconIndex?: any, iconLabel?: any, noHTMLFormatting?: any): void
クリップボードの内容を形式を指定して貼り付ける。
VBA:
PasteSpecial- #
readonly shapes: Shapes
シート上の図形のコレクション。
VBA:
Shapes- #
readonly listObjects: ListObjects
シート上のテーブルのコレクション。
VBA:
ListObjects- #
chartObjects(index?: any): object
埋め込みグラフを 1 つ、または全体のコレクションを返す。
VBA:
ChartObjects- #
readonly names: Names
シート レベルの名前定義のコレクション。
VBA:
Names- #
readonly hyperlinks: Hyperlinks
シート上のハイパーリンクのコレクション。
VBA:
Hyperlinks- #
readonly comments: Comments
シート上のコメント(メモ)のコレクション。
VBA:
Comments- #
readonly pageSetup: PageSetup
ページ設定。
VBA:
PageSetup- #
readonly autoFilter: AutoFilter
オートフィルターの設定。フィルターがなければ Nothing。
VBA:
AutoFilter- #
autoFilterMode: boolean
オートフィルターの矢印が表示されているかどうか。
falseを代入するとフィルターを解除する。VBA:
AutoFilterMode- #
readonly filterMode: boolean
フィルターで絞り込まれた状態かどうか。
VBA:
FilterMode- #
showAllData(): void
フィルターによる絞り込みを解除してすべての行を表示する。
VBA:
ShowAllData- #
readonly tab: object
シート見出し(色など)。
VBA:
Tab- #
readonly parent: object
親オブジェクト(通常はブック)。
VBA:
Parent- #
readonly application: Application
シートが属する Application オブジェクト。
VBA:
Application- #
evaluate(name: any): cellValue
名前や数式の文字列を、このシートを基準に評価する。
VBA:
Evaluate- #
printOut(from?: any, to?: any, copies?: any, preview?: any, activePrinter?: any, printToFile?: any, collate?: any, prToFileName?: any, ignorePrintAreas?: any): void
シートを印刷する。
VBA:
PrintOut- #
exportAsFixedFormat(type: XlFixedFormatType, filename?: any, quality?: any, includeDocProperties?: any, ignorePrintAreas?: any, from?: any, to?: any, openAfterPublish?: any, fixedFormatExtClassPtr?: any): void
PDF または XPS 形式で出力する。
VBA:
ExportAsFixedFormat- #
enableCalculation: boolean
このシートを自動再計算の対象にするかどうか。
VBA:
EnableCalculation- #
standardWidth: double
列の標準の幅。
VBA:
StandardWidth- #
readonly next: Worksheet | Chart
次のシート。最後のシートでは Nothing。
VBA:
Next- #
readonly previous: Worksheet | Chart
前のシート。最初のシートでは Nothing。
VBA:
Previous- #
readonly sort: Sort
シートの並べ替え設定。
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.Range
セル、行、列、または複数セルからなる範囲を表す。
- #
(row: any, col?: any): Range
既定メンバー(Item)。
rng(1, 2)の形で、範囲の左上を基準にしたセルを返す。引数のあるプロパティです(
x(…) = 値と代入できます)。- #
item(rowIndex: any, columnIndex?: any): Range
範囲の左上を基準にした位置のセルを返す。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Item- #
value: cellValue
セルの値。複数セルの範囲では 2 次元配列(1 始まり)を読み書きする。セルのエラー値(
#N/Aなど)のことがある。VBA:
Value- #
value2: cellValue
通貨型・日付型に変換しない生の値。日付はシリアル値(Double)になる。セルのエラー値(
#N/Aなど)のことがある。VBA:
Value2- #
formula: any
A1 形式の数式。数式でないセルでは値そのもの。
VBA:
Formula- #
formulaR1C1: any
R1C1 形式の数式。
VBA:
FormulaR1C1- #
formula2: any
動的配列に対応した A1 形式の数式。
VBA:
Formula2- #
readonly text: any
セルに表示されている文字列(書式適用後)。
VBA:
Text- #
address(rowAbsolute?: any, columnAbsolute?: any, referenceStyle?: XlReferenceStyle, external?: any, relativeTo?: any): string
範囲の参照を文字列で返す(既定は
$A$1形式)。VBA:
Address- #
readonly row: int
範囲の先頭行の行番号。
VBA:
Row- #
readonly column: int
範囲の先頭列の列番号。
VBA:
Column- #
rows(index?: any): Range
範囲内の行を返す。引数なしなら行の集まりとしての範囲。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Rows- #
columns(index?: any): Range
範囲内の列を返す。引数なしなら列の集まりとしての範囲。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Columns- #
readonly count: int
セル(または行・列)の数。生成される VBA では
CountLargeを参照する(Countは Long の上限を超える範囲、たとえばシート全体のcellsでエラーになるため)。VBA:
CountLarge- #
readonly countLarge: any
セルの数。シート全体のような大きな範囲でも数えられる。
VBA:
CountLarge- #
cells(row?: any, col?: any): Range
範囲内のセルを返す。引数なしなら範囲そのもの。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Cells- #
offset(rowOffset?: any, columnOffset?: any): Range
指定した行数・列数だけずらした範囲を返す。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Offset- #
resize(rowSize?: any, columnSize?: any): Range
左上を固定したまま、行数・列数を変えた範囲を返す。
引数のあるプロパティです(
x(…) = 値と代入できます)。VBA:
Resize- #
end(direction: XlDirection): Range
データが連続する領域の端のセルを返す(Ctrl+方向キーに相当)。
VBA:
End- #
readonly entireRow: Range
範囲を含む行全体。
VBA:
EntireRow- #
readonly entireColumn: Range
範囲を含む列全体。
VBA:
EntireColumn- #
readonly currentRegion: Range
空白行と空白列で囲まれた、データの連続する領域。
VBA:
CurrentRegion- #
readonly areas: object
複数選択された範囲の各領域のコレクション。
VBA:
Areas- #
readonly worksheet: Worksheet
範囲があるワークシート。
VBA:
Worksheet- #
readonly parent: object
親オブジェクト(通常はワークシート)。
VBA:
Parent- #
readonly application: Application
範囲が属する Application オブジェクト。
VBA:
Application- #
readonly font: Font
フォントの書式。
VBA:
Font- #
readonly interior: Interior
塗りつぶしの書式。
VBA:
Interior- #
readonly borders: Borders
罫線のコレクション。
VBA:
Borders- #
numberFormat: any
表示形式(書式記号は英語版の表記)。
VBA:
NumberFormat- #
numberFormatLocal: any
表示形式(書式記号は実行環境の言語の表記)。
VBA:
NumberFormatLocal- #
horizontalAlignment: any
横方向の配置。
VBA:
HorizontalAlignment- #
verticalAlignment: any
縦方向の配置。
VBA:
VerticalAlignment- #
wrapText: any
セル内で折り返して全体を表示するかどうか。
VBA:
WrapText- #
mergeCells: any
結合セルを含むかどうか。
VBA:
MergeCells- #
readonly mergeArea: Range
指定したセルを含む結合範囲。結合されていなければそのセル自身。
VBA:
MergeArea- #
merge(across?: any): void
セルを結合する。
VBA:
Merge- #
unMerge(): void
セルの結合を解除する。
VBA:
UnMerge- #
columnWidth: any
列の幅(標準フォントの文字数単位)。
VBA:
ColumnWidth- #
rowHeight: any
行の高さ(ポイント)。
VBA:
RowHeight- #
readonly height: any
範囲の高さ(ポイント)。
VBA:
Height- #
readonly width: any
範囲の幅(ポイント)。
VBA:
Width- #
readonly left: any
シート左端から範囲の左端までの距離(ポイント)。
VBA:
Left- #
readonly top: any
シート上端から範囲の上端までの距離(ポイント)。
VBA:
Top行または列が非表示かどうか。行全体・列全体の範囲に対して使う。
VBA:
Hidden- #
locked: any
セルがロックされているかどうか。
VBA:
Locked- #
readonly hasFormula: any
数式が入っているかどうか。
VBA:
HasFormula- #
name: any
範囲に付けられた名前(Name オブジェクト)。文字列を代入すると名前を定義する。
VBA:
Name- #
readonly comment: Comment
セルに付いているコメント(メモ)。なければ Nothing。
VBA:
Comment- #
readonly validation: Validation
入力規則。
VBA:
Validation- #
readonly hyperlinks: Hyperlinks
範囲内のハイパーリンクのコレクション。
VBA:
Hyperlinks- #
readonly listObject: ListObject
範囲が属するテーブル。テーブル外なら Nothing。
VBA:
ListObject- #
find(what: any, after?: any, lookIn?: any, lookAt?: any, searchOrder?: any, searchDirection?: XlSearchDirection, matchCase?: any, matchByte?: any, searchFormat?: any): Range
条件に一致する最初のセルを返す。見つからなければ Nothing。検索設定は次回に持ち越される。
VBA:
Find- #
findNext(after?: any): Range
Find と同じ条件で次のセルを検索する。
VBA:
FindNext- #
findPrevious(after?: any): Range
Find と同じ条件で前のセルを検索する。
VBA:
FindPrevious- #
replace(what: any, replacement: any, lookAt?: any, searchOrder?: any, matchCase?: any, matchByte?: any, searchFormat?: any, replaceFormat?: any, formulaVersion?: any): boolean
範囲内の文字列を置換する。
VBA:
Replace- #
copy(destination?: any): void
範囲をコピーする。貼り付け先を省略するとクリップボードへコピーする。
VBA:
Copy- #
cut(destination?: any): void
範囲を切り取る。貼り付け先を省略するとクリップボードへ切り取る。
VBA:
Cut- #
pasteSpecial(paste?: XlPasteType, operation?: XlPasteSpecialOperation, skipBlanks?: any, transpose?: any): void
クリップボードの内容を、貼り付ける要素(値・書式など)を指定して貼り付ける。
VBA:
PasteSpecial- #
clear(): void
値・数式・書式をすべて消去する。
VBA:
Clear- #
clearContents(): void
値と数式だけを消去する(書式は残る)。
VBA:
ClearContents- #
clearFormats(): void
書式だけを消去する。
VBA:
ClearFormats- #
clearComments(): void
コメント(メモ)を消去する。
VBA:
ClearComments- #
delete(shift?: any): void
セルを削除して詰める。
VBA:
Delete- #
insert(shift?: any, copyOrigin?: any): void
空白セルを挿入して既存のセルをずらす。
VBA:
Insert- #
select(): void
範囲を選択する。
VBA:
Select- #
activate(): void
セルをアクティブにする。
VBA:
Activate- #
autoFit(): void
内容に合わせて列幅または行の高さを自動調整する。行全体・列全体の範囲に対して使う。
VBA:
AutoFit- #
autoFill(destination: Range, type?: XlAutoFillType): void
オートフィルを実行する。
destinationは元の範囲を含む必要がある。VBA:
AutoFill- #
autoFilter(field?: any, criteria1?: any, operator?: XlAutoFilterOperator, criteria2?: any, visibleDropDown?: any): void
オートフィルターで絞り込む。引数をすべて省略するとフィルターの矢印を切り替える。
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 つまで)。
VBA:
Sort- #
removeDuplicates(columns?: any, header?: XlYesNoGuess): void
重複する行を削除する。
columnsには比較する列番号の配列を渡す。VBA:
RemoveDuplicates- #
specialCells(type: XlCellType, value?: any): Range
空白セル・可視セル・定数セルなど、種類に一致するセルを返す。該当がないと実行時エラーになる。
VBA:
SpecialCells- #
fillDown(): void
範囲の先頭行の内容を下方向へコピーする。
VBA:
FillDown- #
fillRight(): void
範囲の先頭列の内容を右方向へコピーする。
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 列の文字列を区切って複数の列に分割する。
VBA:
TextToColumns- #
calculate(): void
この範囲だけを再計算する。
VBA:
Calculate- #
addComment(text?: any): Comment
セルにコメント(メモ)を追加する。
VBA:
AddComment- #
characters(start?: any, length?: any): Characters
セル内の文字列の一部を表す Characters を返す(文字単位の書式設定用)。
VBA:
Characters- #
borderAround(lineStyle?: any, weight?: XlBorderWeight, colorIndex?: XlColorIndex, color?: any, themeColor?: any): void
範囲の外周に罫線を引く。
VBA:
BorderAround- #
range(cell1: any, cell2?: any): Range
この範囲を基準にした相対参照でセル範囲を返す。
引数のあるプロパティです(
x(…) = 値と代入できます)。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- #
clearHyperlinks(): void
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.Font
文字の書式(フォント名・サイズ・色など)を表す。
- #
name: any
フォント名。
VBA:
Name- #
size: any
フォント サイズ(ポイント)。
VBA:
Size- #
bold: any
太字かどうか。
VBA:
Bold- #
italic: any
斜体かどうか。
VBA:
Italic- #
underline: any
下線の種類。
VBA:
Underline- #
strikethrough: any
取り消し線を付けるかどうか。
VBA:
Strikethrough- #
color: any
文字色(RGB 値)。
VBA:
Color- #
colorIndex: any
文字色(カラー パレットのインデックス)。
VBA:
ColorIndex- #
themeColor: any
テーマの配色での文字色。
VBA:
ThemeColor- #
tintAndShade: any
色の明るさの調整(-1 ~ 1)。
VBA:
TintAndShade- #
fontStyle: any
フォント スタイルの名前("太字 斜体" など)。
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.Interior
セルや図形の塗りつぶしを表す。
- #
color: any
塗りつぶしの色(RGB 値)。
VBA:
Color- #
colorIndex: any
塗りつぶしの色(カラー パレットのインデックス)。
xlColorIndexNoneで塗りつぶしなし。VBA:
ColorIndex- #
pattern: any
塗りつぶしのパターン。
VBA:
Pattern- #
patternColor: any
パターンの色(RGB 値)。
VBA:
PatternColor- #
patternColorIndex: any
パターンの色(カラー パレットのインデックス)。
VBA:
PatternColorIndex- #
themeColor: any
テーマの配色での塗りつぶし色。
VBA:
ThemeColor- #
tintAndShade: any
色の明るさの調整(-1 ~ 1)。
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.Borders
セル範囲の罫線(上下左右・内側・斜め)のコレクション。
- #
(index: XlBordersIndex): Border
位置を指定して罫線を返す(既定メンバー)。
- #
item(index: XlBordersIndex): Border
位置を指定して罫線を返す。
VBA:
Item- #
readonly count: int
罫線の数。
VBA:
Count- #
color: any
すべての罫線の色(RGB 値)。
VBA:
Color- #
colorIndex: any
すべての罫線の色(カラー パレットのインデックス)。
VBA:
ColorIndex- #
lineStyle: any
すべての罫線の線種。
VBA:
LineStyle- #
weight: any
すべての罫線の太さ。
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.Border
1 本の罫線を表す。
- #
color: any
罫線の色(RGB 値)。
VBA:
Color- #
colorIndex: any
罫線の色(カラー パレットのインデックス)。
VBA:
ColorIndex- #
lineStyle: any
罫線の線種。
xlLineStyleNoneで罫線なし。VBA:
LineStyle- #
weight: any
罫線の太さ。
VBA:
Weight- #
themeColor: any
VBA:
ThemeColor- #
tintAndShade: any
VBA:
TintAndShade- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.Characters
セルや図形内の文字列の一部を表す。
- #
text: string
対象部分の文字列。
VBA:
Text- #
readonly count: int
文字数。
VBA:
Count- #
readonly font: Font
対象部分のフォント書式。
VBA:
Font- #
insert(str: string): void
対象部分の文字列を挿入した文字列で置き換える。
VBA:
Insert- #
delete(): void
対象部分の文字を削除する。
VBA:
Delete- #
caption: string
VBA:
Caption- #
phoneticCharacters: string
VBA:
PhoneticCharacters- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.Comment
セルのコメント(メモ)を表す。
- #
text(text?: any, start?: any, overwrite?: any): string
コメントの文字列を取得または設定する。
VBA:
Textコメントの作成者。
VBA:
Author- #
readonly shape: Shape
コメントの枠を表す図形。
VBA:
Shape- #
visible: boolean
コメントを常に表示するかどうか。
VBA:
Visible- #
delete(): void
コメントを削除する。
VBA:
Delete- #
next(): Comment
VBA:
Next- #
previous(): Comment
VBA:
Previous- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.Comments
シート上のコメント(メモ)のコレクション。
インターフェイス Excel.Hyperlinks
シートまたは範囲内のハイパーリンクのコレクション。
- #
(index: any): Hyperlink
インデックスでハイパーリンクを返す(既定メンバー)。
- #
item(index: any): Hyperlink
インデックスでハイパーリンクを返す。
VBA:
Item- #
readonly count: int
ハイパーリンクの数。
VBA:
Count- #
add(anchor: object, address: string, subAddress?: any, screenTip?: any, textToDisplay?: any): object
セル範囲または図形にハイパーリンクを追加する。
VBA:
Add- #
delete(): void
コレクション内のハイパーリンクをすべて削除する。
VBA:
Delete- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.Hyperlink
ハイパーリンクを表す。
- #
address: string
リンク先のアドレス(URL やファイル パス)。
VBA:
Address- #
subAddress: string
リンク先内の位置(セル参照やブックマーク)。
VBA:
SubAddress- #
textToDisplay: string
セルに表示する文字列。
VBA:
TextToDisplay- #
screenTip: string
マウスを重ねたときに表示するヒント。
VBA:
ScreenTip- #
readonly range: Range
リンクが設定されているセル範囲。
VBA:
Range- #
follow(newWindow?: any, addHistory?: any, extraInfo?: any, method?: any, headerInfo?: any): void
リンク先を開く。
VBA:
Follow- #
delete(): void
ハイパーリンクを削除する。
VBA:
Delete- #
emailSubject: string
VBA:
EmailSubject- #
readonly name: string
VBA:
Name- #
readonly shape: Shape
VBA:
Shape- #
readonly type: int
VBA:
Type- #
addToFavorites(): void
VBA:
AddToFavorites- #
createNewDocument(filename: string, editNow: boolean, overwrite: boolean): void
VBA:
CreateNewDocument- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.Validation
セル範囲の入力規則を表す。
- #
add(type: XlDVType, alertStyle?: any, operator?: any, formula1?: any, formula2?: any): void
入力規則を追加する。既に規則がある場合は先に Delete する。
VBA:
Add- #
modify(type?: any, alertStyle?: any, operator?: any, formula1?: any, formula2?: any): void
既存の入力規則を変更する。
VBA:
Modify- #
delete(): void
入力規則を削除する。
VBA:
Delete- #
readonly type: int
入力規則の種類(XlDVType の値)。
VBA:
Type- #
readonly formula1: string
条件の 1 つ目の値または数式。
VBA:
Formula1- #
readonly formula2: string
条件の 2 つ目の値または数式。
VBA:
Formula2- #
ignoreBlank: boolean
空白を許可するかどうか。
VBA:
IgnoreBlank- #
inCellDropdown: boolean
リスト形式でドロップダウンを表示するかどうか。
VBA:
InCellDropdown- #
inputMessage: string
入力時メッセージの本文。
VBA:
InputMessage- #
errorMessage: string
エラー メッセージの本文。
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.Names
名前定義(名前付き範囲)のコレクション。
- #
(index: any, indexLocal?: any, refersTo?: any): Name
インデックスまたは名前で Name を返す(既定メンバー)。
- #
item(index?: any, indexLocal?: any, refersTo?: any): Name
インデックスまたは名前で Name を返す。
VBA:
Item- #
readonly count: int
名前定義の数。
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
名前を定義する。
VBA:
Add- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.Name
名前定義(名前付き範囲)を表す。
- #
name: string
定義された名前。
VBA:
Name- #
refersTo: any
参照先を表す数式(
=Sheet1!$A$1の形式)。VBA:
RefersTo- #
readonly refersToRange: Range
参照先のセル範囲。参照先が範囲でなければ実行時エラーになる。
VBA:
RefersToRange- #
visible: boolean
名前の管理に表示するかどうか。
VBA:
Visible- #
delete(): void
名前定義を削除する。
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.Windows
ウィンドウのコレクション。
- #
(index: any): Window
インデックスまたはキャプションでウィンドウを返す(既定メンバー)。
- #
item(index: any): Window
インデックスまたはキャプションでウィンドウを返す。
VBA:
Item- #
readonly count: int
ウィンドウの数。
VBA:
Count- #
arrange(arrangeStyle?: XlArrangeStyle, activeWorkbook?: any, syncHorizontal?: any, syncVertical?: any): void
ウィンドウを整列する。
VBA:
Arrange- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.Window
ブックを表示するウィンドウを表す。
- #
activate(): void
ウィンドウをアクティブにする。
VBA:
Activate- #
close(saveChanges?: any, filename?: any, routeWorkbook?: any): boolean
ウィンドウを閉じる。
VBA:
Close- #
caption: any
ウィンドウのタイトル。
VBA:
Caption- #
windowState: XlWindowState
ウィンドウの状態(最大化 / 最小化 / 標準)。
VBA:
WindowState- #
visible: boolean
ウィンドウを表示するかどうか。
VBA:
Visible- #
freezePanes: boolean
ウィンドウ枠を固定するかどうか。
VBA:
FreezePanes- #
zoom: any
表示倍率(パーセント)。
VBA:
Zoom- #
displayGridlines: boolean
枠線(目盛線)を表示するかどうか。
VBA:
DisplayGridlines- #
displayHeadings: boolean
行番号と列番号を表示するかどうか。
VBA:
DisplayHeadings- #
displayFormulas: boolean
値の代わりに数式を表示するかどうか。
VBA:
DisplayFormulas- #
displayZeros: boolean
ゼロ値を表示するかどうか。
VBA:
DisplayZeros- #
scrollRow: int
ウィンドウの左上に表示する行の番号。
VBA:
ScrollRow- #
scrollColumn: int
ウィンドウの左上に表示する列の番号。
VBA:
ScrollColumn- #
readonly visibleRange: Range
ウィンドウに見えているセル範囲。
VBA:
VisibleRange- #
readonly activeCell: Range
ウィンドウでアクティブなセル。
VBA:
ActiveCell- #
readonly activeSheet: Worksheet | Chart
ウィンドウでアクティブなシート。
VBA:
ActiveSheet- #
readonly selectedSheets: Sheets
ウィンドウで選択されているシート。
VBA:
SelectedSheets- #
readonly selection: object
ウィンドウで選択されているオブジェクト。
VBA:
Selection- #
view: XlWindowView
表示モード(標準 / 改ページ プレビュー / ページ レイアウト)。
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。
VBA:
RangeFromPoint- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.ListObjects
ワークシート上のテーブルのコレクション。
- #
(index: any): ListObject
インデックスまたはテーブル名でテーブルを返す(既定メンバー)。
- #
item(index: any): ListObject
インデックスまたはテーブル名でテーブルを返す。
VBA:
Item- #
readonly count: int
テーブルの数。
VBA:
Count- #
add(sourceType?: XlListObjectSourceType, source?: any, linkSource?: any, xlListObjectHasHeaders?: XlYesNoGuess, destination?: any, tableStyleName?: any): ListObject
セル範囲などからテーブルを作成する。
VBA:
Add- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.ListObject
ワークシート上のテーブルを表す。
- #
name: string
テーブル名。
VBA:
Name- #
readonly range: Range
見出し行と集計行を含むテーブル全体の範囲。
VBA:
Range- #
readonly dataBodyRange: Range
データ部分の範囲。データ行がなければ Nothing。
VBA:
DataBodyRange- #
readonly headerRowRange: Range
見出し行の範囲。
VBA:
HeaderRowRange- #
readonly totalsRowRange: Range
集計行の範囲。集計行が非表示なら Nothing。
VBA:
TotalsRowRange- #
readonly listColumns: ListColumns
テーブルの列のコレクション。
VBA:
ListColumns- #
readonly listRows: ListRows
テーブルの行のコレクション。
VBA:
ListRows- #
showHeaders: boolean
見出し行を表示するかどうか。
VBA:
ShowHeaders- #
showTotals: boolean
集計行を表示するかどうか。
VBA:
ShowTotals- #
showAutoFilter: boolean
オートフィルターを表示するかどうか。
VBA:
ShowAutoFilter- #
tableStyle: any
テーブルに適用するスタイル。
VBA:
TableStyle- #
readonly autoFilter: AutoFilter
テーブルのオートフィルター。
VBA:
AutoFilter- #
readonly sort: Sort
テーブルの並べ替え設定。
VBA:
Sort- #
resize(range: Range): void
テーブルの範囲を変更する。
VBA:
Resize- #
unlist(): void
テーブルを通常のセル範囲に戻す(データは残る)。
VBA:
Unlist- #
delete(): void
テーブルをデータごと削除する。
VBA:
Delete- #
refresh(): void
外部データ ソースからテーブルを更新する。
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- #
unlink(): void
VBA:
Unlink- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.ListColumns
テーブルの列のコレクション。
- #
(index: any): ListColumn
インデックスまたは列見出しで列を返す(既定メンバー)。
- #
item(index: any): ListColumn
インデックスまたは列見出しで列を返す。
VBA:
Item- #
readonly count: int
列の数。
VBA:
Count- #
add(position?: any): ListColumn
テーブルに列を追加する。
VBA:
Add- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.ListColumn
テーブルの 1 列を表す。
- #
name: string
列見出しの文字列。
VBA:
Name- #
readonly index: int
テーブル内での列の位置(1 始まり)。
VBA:
Index- #
readonly range: Range
見出しを含む列全体の範囲。
VBA:
Range- #
readonly dataBodyRange: Range
列のデータ部分の範囲。
VBA:
DataBodyRange- #
readonly total: Range
集計行のセル。
VBA:
Total- #
totalsCalculation: XlTotalsCalculation
集計行での集計方法。
VBA:
TotalsCalculation- #
delete(): void
列を削除する。
VBA:
Delete- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.ListRows
テーブルの行のコレクション。
- #
(index: any): ListRow
インデックスで行を返す(既定メンバー)。
- #
item(index: any): ListRow
インデックスで行を返す。
VBA:
Item- #
readonly count: int
データ行の数。
VBA:
Count- #
add(position?: any, alwaysInsert?: any): ListRow
テーブルに行を追加する。位置を省略すると末尾に追加する。
VBA:
Add- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.ListRow
テーブルの 1 行を表す。
インターフェイス Excel.Shapes
シート上の図形のコレクション。
- #
(index: any): Shape
インデックスまたは名前で図形を返す(既定メンバー)。
- #
item(index: any): Shape
インデックスまたは名前で図形を返す。
VBA:
Item- #
readonly count: int
図形の数。
VBA:
Count- #
addShape(type: Office.MsoAutoShapeType, left: float, top: float, width: float, height: float): Shape
オートシェイプを追加する。
VBA:
AddShape- #
addPicture(filename: string, linkToFile: Office.MsoTriState, saveWithDocument: Office.MsoTriState, left: float, top: float, width: float, height: float): Shape
画像ファイルから図を追加する。
VBA:
AddPicture- #
addTextbox(orientation: Office.MsoTextOrientation, left: float, top: float, width: float, height: float): Shape
テキスト ボックスを追加する。
VBA:
AddTextbox- #
addLine(beginX: float, beginY: float, endX: float, endY: float): Shape
直線を追加する。
VBA:
AddLine- #
addChart2(style?: any, xlChartType?: any, left?: any, top?: any, width?: any, height?: any, newLayout?: any): Shape
グラフを追加する。
VBA:
AddChart2- #
addFormControl(type: XlFormControl, left: int, top: int, width: int, height: int): Shape
フォーム コントロール(ボタンなど)を追加する。
VBA:
AddFormControl- #
selectAll(): void
すべての図形を選択する。
VBA:
SelectAll- #
range(index: any): object
複数の図形をまとめた ShapeRange を返す。
VBA:
Range- #
readonly application: Application
VBA:
Application- #
readonly parent: Worksheet | Chart
VBA:
Parent
インターフェイス Excel.Shape
シート上の図形(オートシェイプ・図・グラフなど)を表す。
- #
name: string
図形の名前。
VBA:
Name- #
left: float
左端の位置(ポイント)。
VBA:
Left- #
top: float
上端の位置(ポイント)。
VBA:
Top- #
width: float
幅(ポイント)。
VBA:
Width- #
height: float
高さ(ポイント)。
VBA:
Height- #
visible: Office.MsoTriState
図形を表示するかどうか。
VBA:
Visible- #
readonly type: Office.MsoShapeType
図形の種類。
VBA:
Type- #
readonly topLeftCell: Range
図形の左上隅があるセル。
VBA:
TopLeftCell- #
readonly bottomRightCell: Range
図形の右下隅があるセル。
VBA:
BottomRightCell- #
placement: XlPlacement
セルの移動やサイズ変更に図形を追従させる方法。
VBA:
Placement- #
onAction: string
図形をクリックしたときに実行するマクロ名。
VBA:
OnAction- #
readonly textFrame: object
図形内のテキスト枠。
VBA:
TextFrame- #
readonly chart: Chart
図形に含まれるグラフ。
VBA:
Chart- #
delete(): void
図形を削除する。
VBA:
Delete- #
select(replace?: any): void
図形を選択する。
VBA:
Select- #
copy(): void
図形をクリップボードへコピーする。
VBA:
Copy- #
duplicate(): Shape
図形を複製する。
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- #
readonly hyperlink: Hyperlink
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.ChartObjects
シート上の埋め込みグラフのコレクション。
- #
(index: any): object
インデックスまたは名前で埋め込みグラフを返す(既定メンバー)。戻り値は Object 型。
- #
item(index: any): object
インデックスまたは名前で埋め込みグラフを返す。
VBA:
Item- #
readonly count: int
埋め込みグラフの数。
VBA:
Count- #
add(left: double, top: double, width: double, height: double): ChartObject
位置とサイズ(ポイント)を指定して埋め込みグラフを追加する。
VBA:
Add- #
delete(): void
コレクション内の埋め込みグラフをすべて削除する。
VBA:
Delete- #
select(replace?: any): void
VBA:
Select- #
readonly application: Application
VBA:
Application- #
readonly parent: Worksheet | Chart
VBA:
Parent
インターフェイス Excel.ChartObject
シートに埋め込まれたグラフの入れ物を表す。
- #
name: string
埋め込みグラフの名前。
VBA:
Name- #
readonly chart: Chart
中に入っているグラフ本体。
VBA:
Chart- #
left: double
左端の位置(ポイント)。
VBA:
Left- #
top: double
上端の位置(ポイント)。
VBA:
Top- #
width: double
幅(ポイント)。
VBA:
Width- #
height: double
高さ(ポイント)。
VBA:
Height- #
visible: boolean
表示するかどうか。
VBA:
Visible- #
activate(): void
埋め込みグラフをアクティブにする。
VBA:
Activate- #
delete(): void
埋め込みグラフを削除する。
VBA:
Delete- #
select(replace?: any): void
埋め込みグラフを選択する。
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.Chart
グラフ(グラフ シートまたは埋め込みグラフの中身)を表す。
- #
chartType: XlChartType
グラフの種類。
VBA:
ChartType- #
setSourceData(source: Range, plotBy?: any): void
グラフの元データの範囲を設定する。
VBA:
SetSourceData- #
hasTitle: boolean
グラフ タイトルを表示するかどうか。
VBA:
HasTitle- #
readonly chartTitle: object
グラフ タイトル。
VBA:
ChartTitle- #
hasLegend: boolean
凡例を表示するかどうか。
VBA:
HasLegend- #
readonly legend: object
凡例。
VBA:
Legend- #
seriesCollection(index?: any): object
データ系列を 1 つ、または全体のコレクションを返す。
VBA:
SeriesCollection- #
axes(type?: any, axisGroup?: XlAxisGroup): object
軸を 1 つ、または全体のコレクションを返す。
VBA:
Axes- #
export(filename: string, filterName?: any, interactive?: any): boolean
グラフを画像ファイルとして書き出す。
VBA:
Export- #
delete(): void
グラフを削除する。
VBA:
Delete- #
name: string
グラフの名前。
VBA:
Name- #
plotBy: XlRowCol
系列を行と列のどちらから取るか。
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.PageSetup
印刷時のページ設定を表す。
- #
orientation: XlPageOrientation
用紙の向き。
VBA:
Orientation- #
paperSize: XlPaperSize
用紙サイズ。
VBA:
PaperSize- #
printArea: string
印刷範囲(A1 形式の文字列)。空文字列でシート全体。
VBA:
PrintArea- #
printTitleRows: string
各ページの上端に繰り返し印刷する行。
VBA:
PrintTitleRows- #
printTitleColumns: string
各ページの左端に繰り返し印刷する列。
VBA:
PrintTitleColumns- #
zoom: any
拡大縮小率(パーセント)。
falseにすると FitToPages の指定が有効になる。VBA:
Zoom- #
fitToPagesWide: any
横方向に収めるページ数。
VBA:
FitToPagesWide- #
fitToPagesTall: any
縦方向に収めるページ数。
VBA:
FitToPagesTall- #
leftMargin: double
左余白(ポイント)。
VBA:
LeftMargin- #
rightMargin: double
右余白(ポイント)。
VBA:
RightMargin- #
topMargin: double
上余白(ポイント)。
VBA:
TopMargin- #
bottomMargin: double
下余白(ポイント)。
VBA:
BottomMargin- #
centerHorizontally: boolean
ページの左右中央に配置するかどうか。
VBA:
CenterHorizontally- #
centerVertically: boolean
ページの上下中央に配置するかどうか。
VBA:
CenterVertically- #
centerHeader: string
ヘッダー中央部の文字列。
VBA:
CenterHeaderフッター中央部の文字列。
VBA:
CenterFooter- #
headerMargin: double
VBA:
HeaderMarginVBA:
FooterMargin- #
leftHeader: string
VBA:
LeftHeader- #
rightHeader: string
VBA:
RightHeaderVBA:
LeftFooterVBA:
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:
PrintErrorsVBA:
OddAndEvenPagesHeaderFooterVBA:
DifferentFirstPageHeaderFooterVBA:
ScaleWithDocHeaderFooterVBA:
AlignMarginsHeaderFooter- #
printQuality(index?: any): any
VBA:
PrintQuality- #
readonly application: Application
VBA:
Application- #
readonly parent: Worksheet | Chart
VBA:
Parent
インターフェイス Excel.AutoFilter
ワークシートまたはテーブルのオートフィルターを表す。
- #
readonly range: Range
フィルターが適用されている範囲。
VBA:
Range- #
readonly filters: object
各列のフィルター条件のコレクション。
VBA:
Filters- #
readonly filterMode: boolean
絞り込まれた状態かどうか。
VBA:
FilterMode- #
readonly sort: Sort
フィルター範囲の並べ替え設定。
VBA:
Sort- #
applyFilter(): void
現在の条件でフィルターを掛け直す。
VBA:
ApplyFilter- #
showAllData(): void
絞り込みを解除してすべての行を表示する。
VBA:
ShowAllData- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.Sort
シート・テーブル・オートフィルターの並べ替え設定を表す。
- #
readonly sortFields: SortFields
並べ替えキーのコレクション。
VBA:
SortFields- #
setRange(rng: Range): void
並べ替える範囲を設定する。
VBA:
SetRange- #
header: XlYesNoGuess
先頭行を見出しとして扱うかどうか。
VBA:
Header- #
matchCase: boolean
大文字と小文字を区別するかどうか。
VBA:
MatchCase- #
orientation: XlSortOrientation
並べ替えの方向(行単位 / 列単位)。
VBA:
Orientation- #
apply(): void
設定した内容で並べ替えを実行する。
VBA:
Apply- #
sortMethod: XlSortMethod
VBA:
SortMethod- #
readonly rng: Range
VBA:
Rng- #
readonly application: Application
VBA:
Application- #
readonly parent: object
VBA:
Parent
インターフェイス Excel.SortFields
並べ替えキーのコレクション。
- #
(index: any): SortField
インデックスで並べ替えキーを返す(既定メンバー)。
- #
item(index: any): SortField
インデックスで並べ替えキーを返す。
VBA:
Item- #
readonly count: int
並べ替えキーの数。
VBA:
Count- #
add(key: Range, sortOn?: any, order?: any, customOrder?: any, dataOption?: any): SortField
並べ替えキーを追加する。
VBA:
Add- #
clear(): void
すべての並べ替えキーを削除する。
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.SortField
並べ替えキー 1 つ分の設定を表す。
- #
readonly key: Range
キーとなるセル範囲。
VBA:
Key- #
sortOn: XlSortOn
並べ替えの基準(値 / セルの色 / フォントの色 / アイコン)。
VBA:
SortOn- #
order: XlSortOrder
並べ替えの順序。
VBA:
Order- #
customOrder: any
ユーザー設定リストによる並び順。
VBA:
CustomOrder- #
dataOption: XlSortDataOption
数値に見える文字列の扱い。
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.FormatConditions
セル範囲の条件付き書式のコレクション(各要素は Object 型)。
- #
(index: any): object
インデックスで条件付き書式を返す(既定メンバー)。
- #
item(index: any): object
インデックスで条件付き書式を返す。
VBA:
Item- #
readonly count: int
条件付き書式の数。
VBA:
Count- #
add(type: XlFormatConditionType, operator?: any, formula1?: any, formula2?: any): object
条件付き書式を追加する。
VBA:
Add- #
delete(): void
範囲の条件付き書式をすべて削除する。
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.WorksheetFunction
VBA から呼び出せるワークシート関数の入れ物。失敗すると実行時エラーになる。
- #
sum(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
合計を返す。
VBA:
Sum- #
average(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
平均を返す。
VBA:
Average- #
count(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
数値が入っているセルの個数を返す。
VBA:
Count- #
countA(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
空白でないセルの個数を返す。
VBA:
CountA- #
countIf(arg1: Range, arg2: any): double
条件に一致するセルの個数を返す。
VBA:
CountIf- #
countIfs(arg1: Range, arg2: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
複数の条件すべてに一致するセルの個数を返す。
VBA:
CountIfs- #
sumIf(arg1: Range, arg2: any, arg3?: any): double
条件に一致するセルの合計を返す。
VBA:
SumIf- #
sumIfs(arg1: Range, arg2: Range, arg3: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
複数の条件すべてに一致するセルの合計を返す。
VBA:
SumIfs- #
max(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
最大値を返す。
VBA:
Max- #
min(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
最小値を返す。
VBA:
Min- #
match(arg1: any, arg2: any, arg3?: any): double
検索値が範囲内の何番目にあるかを返す。見つからないと実行時エラーになる。
VBA:
Match- #
index(arg1: any, arg2: double, arg3?: any, arg4?: any): any
範囲または配列から、行番号と列番号で指定した要素を返す。
VBA:
Index- #
vLookup(arg1: any, arg2: any, arg3: any, arg4?: any): any
範囲の左端列を縦方向に検索し、同じ行の指定列の値を返す。
VBA:
VLookup- #
hLookup(arg1: any, arg2: any, arg3: any, arg4?: any): any
範囲の上端行を横方向に検索し、同じ列の指定行の値を返す。
VBA:
HLookup- #
xLookup(arg1: any, arg2: any, arg3: any, arg4?: any, arg5?: any, arg6?: any): any
検索範囲から値を探し、対応する戻り範囲の値を返す(新しい Excel のみ)。
VBA:
XLookup- #
round(arg1: double, arg2: double): double
指定した桁数に四捨五入する。
VBA:
Round- #
roundUp(arg1: double, arg2: double): double
指定した桁数に切り上げる(0 から遠い方向)。
VBA:
RoundUp- #
roundDown(arg1: double, arg2: double): double
指定した桁数に切り捨てる(0 に近い方向)。
VBA:
RoundDown- #
trim(arg1: string): string
前後の空白を除き、単語間の連続する空白を 1 つにまとめる。
VBA:
Trim- #
text(arg1: any, arg2: string): string
値を表示形式に従って文字列に変換する。
VBA:
Text- #
transpose(arg1: any): any
配列の行と列を入れ替える。
VBA:
Transpose- #
ifError(arg1: cellValue, arg2: any): any
第 1 引数がエラー値なら第 2 引数を、そうでなければ第 1 引数を返す。
VBA:
IfError- #
large(arg1: any, arg2: double): double
大きい方から数えて k 番目の値を返す。
VBA:
Large- #
small(arg1: any, arg2: double): double
小さい方から数えて k 番目の値を返す。
VBA:
Small- #
median(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
中央値を返す。
VBA:
Median- #
stDev(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
標本にもとづく標準偏差を返す。
VBA:
StDev- #
var(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
標本にもとづく分散を返す。
VBA:
Var- #
rank(arg1: double, arg2: Range, arg3?: any): double
数値が範囲内で何番目の大きさかを返す。
VBA:
Rank- #
floor(arg1: double, arg2: double): double
基準値の倍数のうち、0 に近い方向へ切り捨てた値を返す。
VBA:
Floor- #
ceiling(arg1: double, arg2: double): double
基準値の倍数のうち、0 から遠い方向へ切り上げた値を返す。
VBA:
Ceiling- #
power(arg1: double, arg2: double): double
べき乗を返す。
VBA:
Power- #
product(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
積を返す。
VBA:
Product- #
sumProduct(arg1: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): double
配列の対応する要素どうしを掛けて、その合計を返す。
VBA:
SumProduct- #
eoMonth(arg1: any, arg2: any): double
開始日から指定月数だけ前後した月の末日(シリアル値)を返す。
VBA:
EoMonth- #
eDate(arg1: any, arg2: any): double
開始日から指定月数だけ前後した日付(シリアル値)を返す。
VBA:
EDate- #
networkDays(arg1: any, arg2: any, arg3?: any): double
2 つの日付の間の稼働日数を返す。
VBA:
NetworkDays- #
workDay(arg1: any, arg2: any, arg3?: any): double
開始日から指定した稼働日数だけ前後した日付(シリアル値)を返す。
VBA:
WorkDay- #
weekNum(arg1: any, arg2?: any): double
日付がその年の第何週かを返す。
VBA:
WeekNum- #
find(arg1: string, arg2: string, arg3?: any): double
文字列内で検索文字列が最初に現れる位置を返す(大文字と小文字を区別する)。
VBA:
Find- #
search(arg1: string, arg2: string, arg3?: any): double
文字列内で検索文字列が最初に現れる位置を返す(大文字と小文字を区別せず、ワイルドカードを使える)。
VBA:
Search- #
substitute(arg1: string, arg2: string, arg3: string, arg4?: any): string
文字列中の指定した部分文字列を別の文字列に置き換える。
VBA:
Substitute- #
rept(arg1: string, arg2: double): string
文字列を指定回数だけ繰り返す。
VBA:
Rept- #
proper(arg1: string): string
各単語の先頭を大文字、残りを小文字にする。
VBA:
Proper- #
clean(arg1: string): string
印刷できない制御文字を取り除く。
VBA:
Clean- #
asc(arg1: string): string
全角の英数カナを半角にする。
VBA:
Asc- #
dbcs(arg1: string): string
半角の英数カナを全角にする。
VBA:
Dbcs- #
phonetic(arg1: Range): string
セルのふりがなを返す。
VBA:
Phonetic- #
lookup(arg1: any, arg2: any, arg3?: any): any
行または列を検索し、別の行または列の同じ位置の値を返す。
VBA:
Lookup- #
choose(arg1: any, arg2: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any, arg9?: any, arg10?: any): any
インデックスに対応する値を引数リストから選んで返す。
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を返す。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を返す。VBA:
Or- #
isNumber(arg1: cellValue): boolean
値が数値かどうかを返す。
VBA:
IsNumber- #
isText(arg1: cellValue): boolean
値が文字列かどうかを返す。
VBA:
IsText- #
isError(arg1: cellValue): boolean
値がエラー値かどうかを返す。
VBA:
IsError- #
isNA(arg1: cellValue): boolean
値が #N/A かどうかを返す。
VBA:
IsNA- #
pi(): double
円周率を返す。
VBA:
Pi- #
radians(arg1: double): double
度をラジアンに変換する。
VBA:
Radians- #
degrees(arg1: double): double
ラジアンを度に変換する。
VBA:
Degrees- #
ln(arg1: double): double
自然対数を返す。
VBA:
Ln- #
log(arg1: double, arg2?: any): double
指定した底の対数を返す(底を省略すると 10)。
VBA:
Log- #
log10(arg1: double): double
常用対数を返す。
VBA:
Log10- #
fact(arg1: double): double
階乗を返す。
VBA:
Fact- #
combin(arg1: double, arg2: double): double
組み合わせの数を返す。
VBA:
Combin- #
quotient(arg1: any, arg2: any): double
割り算の商の整数部分を返す。
VBA:
Quotient- #
mRound(arg1: any, arg2: any): double
指定した値の倍数に丸める。
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.Constants
特定の列挙型に属さない汎用の定数(xlNone / xlCenter / xlAutomatic など)。
- #
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.XlDirection
移動や検索の方向を指定する。
列挙型 Excel.XlCalculation
再計算モードを指定する。
列挙型 Excel.XlCalculationState
計算の進行状態を表す。
列挙型 Excel.XlCalculationInterruptKey
計算を中断できるキーを指定する。
列挙型 Excel.XlLookAt
セルの内容全体と一致させるか、一部と一致させるかを指定する。
列挙型 Excel.XlFindLookIn
検索対象(数式 / 値 / コメント)を指定する。
列挙型 Excel.XlSearchOrder
検索を行方向に進めるか列方向に進めるかを指定する。
列挙型 Excel.XlSearchDirection
次を検索するか前を検索するかを指定する。
列挙型 Excel.XlPasteType
形式を選択して貼り付けるときに貼り付ける要素を指定する。
- #
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.XlPasteSpecialOperation
貼り付けるときに貼り付け先の値と行う演算を指定する。
列挙型 Excel.XlSheetVisibility
シートの表示状態を指定する。
列挙型 Excel.XlSheetType
シートの種類を指定する。
列挙型 Excel.XlFileFormat
ブックを保存するときのファイル形式を指定する。
- #
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.XlCellType
SpecialCells で取り出すセルの種類を指定する。
列挙型 Excel.XlSpecialCellsValue
SpecialCells で定数または数式のセルを取り出すときの値の種類を指定する(加算して組み合わせられる)。
列挙型 Excel.XlHAlign
横方向の配置を指定する。
列挙型 Excel.XlVAlign
縦方向の配置を指定する。
列挙型 Excel.XlBordersIndex
罫線の位置を指定する。
列挙型 Excel.XlLineStyle
罫線の線種を指定する。
列挙型 Excel.XlBorderWeight
罫線の太さを指定する。
列挙型 Excel.XlSortOrder
並べ替えの順序(昇順 / 降順)を指定する。
列挙型 Excel.XlSortOn
並べ替えの基準にする要素を指定する。
列挙型 Excel.XlSortOrientation
並べ替えの方向を指定する。
列挙型 Excel.XlSortMethod
日本語や中国語の並べ替え方法を指定する。
列挙型 Excel.XlSortDataOption
数値に見える文字列を並べ替えでどう扱うかを指定する。
列挙型 Excel.XlYesNoGuess
先頭行が見出しかどうかを指定する。
列挙型 Excel.XlDeleteShiftDirection
セルを削除したあとに詰める方向を指定する。
列挙型 Excel.XlInsertShiftDirection
セルを挿入するときに既存のセルをずらす方向を指定する。
列挙型 Excel.XlInsertFormatOrigin
挿入したセルの書式をどちら側からコピーするかを指定する。
列挙型 Excel.XlEnableCancelKey
マクロ実行中の中断キーの扱いを指定する。
列挙型 Excel.XlMousePointer
マウス ポインターの形を指定する。
列挙型 Excel.XlWindowState
ウィンドウの状態を指定する。
列挙型 Excel.XlWindowView
ウィンドウの表示モードを指定する。
列挙型 Excel.XlWindowType
ウィンドウの種類を表す。
列挙型 Excel.XlArrangeStyle
ウィンドウの整列方法を指定する。
列挙型 Excel.XlAutoFillType
オートフィルの方法を指定する。
列挙型 Excel.XlAutoFilterOperator
オートフィルターで 2 つの条件を結ぶ演算子や、フィルターの種類を指定する。
列挙型 Excel.XlPattern
塗りつぶしのパターンを指定する。
- #
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.XlColorIndex
カラー パレットのインデックスの特別な値(自動 / なし)を表す。
列挙型 Excel.XlUnderlineStyle
下線の種類を指定する。
列挙型 Excel.XlReferenceStyle
セル参照の形式を指定する。
列挙型 Excel.XlReferenceType
数式を変換するときの参照の種類(絶対 / 相対)を指定する。
列挙型 Excel.XlSaveAsAccessMode
ブックを保存するときの共有モードを指定する。
列挙型 Excel.XlSaveAction
ブックを閉じるときに変更を保存するかどうかを指定する。
列挙型 Excel.XlFileAccess
ブックのアクセス モードを指定する。
列挙型 Excel.XlUpdateLinks
ブックを開くときのリンクの更新方法を指定する。
列挙型 Excel.XlCorruptLoad
ブックを開くときの修復方法を指定する。
列挙型 Excel.XlLinkType
リンクの種類を指定する。
列挙型 Excel.XlRunAutoMacro
実行する自動マクロの種類を指定する。
列挙型 Excel.XlRangeValueDataType
Range.Value で取得するデータの形式を指定する。
列挙型 Excel.XlCutCopyMode
切り取りモードかコピー モードかを表す。
列挙型 Excel.XlFixedFormatType
出力する固定レイアウト形式(PDF / XPS)を指定する。
列挙型 Excel.XlFixedFormatQuality
PDF / XPS 出力の品質を指定する。
列挙型 Excel.XlPageOrientation
用紙の向きを指定する。
列挙型 Excel.XlPaperSize
用紙サイズを指定する。
- #
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.XlOrder
複数ページに分かれるときのページの順序を指定する。
列挙型 Excel.XlPrintLocation
コメントの印刷位置を指定する。
列挙型 Excel.XlPrintErrors
エラー値の印刷方法を指定する。
列挙型 Excel.XlListObjectSourceType
テーブルのデータ ソースの種類を指定する。
列挙型 Excel.XlTotalsCalculation
テーブルの集計行での集計方法を指定する。
列挙型 Excel.XlDVType
入力規則の種類を指定する。
列挙型 Excel.XlDVAlertStyle
入力規則のエラー メッセージのスタイルを指定する。
列挙型 Excel.XlFormatConditionType
条件付き書式の種類を指定する。
列挙型 Excel.XlFormatConditionOperator
条件付き書式や入力規則の比較演算子を指定する。
列挙型 Excel.XlTextParsingType
テキストを列に分割する方法(区切り文字 / 固定幅)を指定する。
列挙型 Excel.XlTextQualifier
文字列の引用符を指定する。
列挙型 Excel.XlColumnDataType
テキストを取り込むときの列のデータ形式を指定する。
列挙型 Excel.XlConsolidationFunction
小計や統合で使う集計方法を指定する。
列挙型 Excel.XlSummaryRow
小計行をデータの上下どちらに置くかを指定する。
列挙型 Excel.XlFilterAction
フィルター オプションで、抽出結果を同じ場所に表示するか別の場所にコピーするかを指定する。
列挙型 Excel.XlFillWith
複数シートへコピーする要素を指定する。
列挙型 Excel.XlEnableSelection
保護されたシートで選択できるセルを指定する。
列挙型 Excel.XlPlacement
図形をセルの移動やサイズ変更にどう追従させるかを指定する。
列挙型 Excel.XlFormControl
フォーム コントロールの種類を指定する。
列挙型 Excel.XlPictureAppearance
図としてコピーするときの見た目(画面表示 / 印刷時)を指定する。
列挙型 Excel.XlCopyPictureFormat
図としてコピーするときの画像形式を指定する。
列挙型 Excel.XlChartType
グラフの種類を指定する(よく使うもののみ)。
- #
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.XlChartLocation
グラフの移動先を指定する。
列挙型 Excel.XlRowCol
データ系列を行と列のどちらから取るかを指定する。
列挙型 Excel.XlAxisType
グラフの軸の種類を指定する。
列挙型 Excel.XlAxisGroup
グラフの軸のグループ(主軸 / 第 2 軸)を指定する。
列挙型 Excel.XlLegendPosition
凡例の位置を指定する。
列挙型 Excel.XlDisplayBlanksAs
グラフで空白セルをどう描くかを指定する。
列挙型 Excel.XlCVError
セルのエラー値に対応するエラー番号。CVErr に渡してエラー値を作る。
列挙型 Excel.XlThemeColor
テーマの配色の色を指定する。
- #
xlThemeColorAccent1 = 5
- #
xlThemeColorAccent2 = 6
- #
xlThemeColorAccent3 = 7
- #
xlThemeColorAccent4 = 8
- #
xlThemeColorAccent5 = 9
- #
xlThemeColorAccent6 = 10
- #
xlThemeColorDark1 = 1
- #
xlThemeColorDark2 = 3
- #
xlThemeColorFollowedHyperlink = 12
- #
xlThemeColorHyperlink = 11
- #
xlThemeColorLight1 = 2
- #
xlThemeColorLight2 = 4
列挙型 Excel.XlThemeFont
テーマのフォントを指定する。
列挙型 Excel.XlApplicationInternational
Application.International で取得する国や地域の設定項目を指定する。
- #
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
グローバル application
const application: Excel.Application
VBA: Application
Excel アプリケーション本体。
グローバル thisWorkbook
const thisWorkbook: Excel.Workbook
VBA: ThisWorkbook
実行中のマクロが入っているブック。
グローバル activeWorkbook
const activeWorkbook: Excel.Workbook
VBA: ActiveWorkbook
アクティブなブック。ブックが開いていなければ Nothing。
グローバル activeSheet
const activeSheet: Excel.Worksheet | Excel.Chart
VBA: ActiveSheet
アクティブなシート(ワークシートまたはグラフ シート)。ブックが開いていなければ Nothing。
グローバル activeCell
const activeCell: Excel.Range
VBA: ActiveCell
アクティブなセル。
グローバル activeWindow
const activeWindow: Excel.Window
VBA: ActiveWindow
アクティブなウィンドウ。
グローバル selection
const selection: object
VBA: Selection
現在選択されているオブジェクト。Object 型。
グローバル workbooks
const workbooks: Excel.Workbooks
VBA: Workbooks
開いているすべてのブックのコレクション。
グローバル worksheets
const worksheets: Excel.Sheets<Excel.Worksheet>
VBA: Worksheets
アクティブ ブックのすべてのワークシート。
グローバル sheets
const sheets: Excel.Sheets
VBA: Sheets
アクティブ ブックのすべてのシート(グラフ シートを含む)。
グローバル names
const names: Excel.Names
VBA: Names
アクティブ ブックの名前定義のコレクション。
グローバル windows
const windows: Excel.Windows
VBA: Windows
すべてのウィンドウのコレクション。
グローバル worksheetFunction
const worksheetFunction: Excel.WorksheetFunction
VBA: WorksheetFunction
ワークシート関数を VBA から呼び出すためのオブジェクト。
関数 range
function range(cell1: any, cell2?: any): Excel.Range
VBA: Range
関数 cells
function cells(row?: any, col?: any): Excel.Range
VBA: Cells
関数 rows
function rows(index?: any): Excel.Range
VBA: Rows
関数 columns
function columns(index?: any): Excel.Range
VBA: Columns
関数 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 つにまとめた範囲を返す。
関数 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。
関数 evaluate
function evaluate(name: any): cellValue
VBA: Evaluate
名前や数式の文字列を評価して、オブジェクトまたは値にする。
関数 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
マクロまたは関数を名前で呼び出す。