@types/activex-excel
Version:
TypeScript definitions for activex-excel
1,854 lines (1,699 loc) • 449 kB
TypeScript
/// <reference types="activex-office" />
/// <reference types="activex-vbide" />
/// <reference types="activex-stdole" />
/// <reference types="activex-adodb" />
/// <reference types="activex-dao" />
declare namespace Excel {
type AddSheetResult<T> = T extends XlSheetType.xlDialogSheet ? DialogSheet
: T extends XlSheetType.xlChart ? Chart
: T extends XlSheetType ? Worksheet
: T extends undefined ? Sheet
: never;
type InternationalResult<T> = T extends XlApplicationInternationalStrings ? string
: T extends XlApplicationInternationalNumbers ? number
: T extends XlApplicationInternationalBooleans ? boolean
: any;
type LineStyle = XlLineStyle | Constants.xlGray25 | Constants.xlGray50 | Constants.xlGray75 | Constants.xlAutomatic;
type HorizontalAlignments =
| Constants.xlCenter
| Constants.xlDistributed
| Constants.xlJustify
| Constants.xlLeft
| Constants.xlRight;
type VerticalAlignments =
| Constants.xlBottom
| Constants.xlCenter
| Constants.xlDistributed
| Constants.xlJustify
| Constants.xlTop;
type PivotTableWizardSourceData<TSourceType> = TSourceType extends XlPivotTableSourceType.xlExternal
? SafeArray<string>
: TSourceType extends XlPivotTableSourceType ? Range | SafeArray<Range> | string
: TSourceType extends undefined ? undefined
: never;
type PivotTableWizardAutoPage<TSourceType> = TSourceType extends XlPivotTableSourceType.xlConsolidation ? boolean
: undefined;
type PrintToFileName<T> = T extends true ? string
: undefined;
type Sheet = Worksheet | Chart | DialogSheet;
type SheetView = WorksheetView | DialogSheetView;
const enum Constants {
xl3DBar = -4099,
xl3DEffects1 = 13,
xl3DEffects2 = 14,
xl3DSurface = -4103,
xlAbove = 0,
xlAccounting1 = 4,
xlAccounting2 = 5,
xlAccounting3 = 6,
xlAccounting4 = 17,
xlAdd = 2,
xlAll = -4104,
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,
}
const enum FunctionCategory {
Commands = 10,
Customizing = 11,
Database = 6,
DateAndTime = 2,
DDEAndExternal = 13,
Financial = 1,
Information = 9,
Logical = 8,
LookupAndReference = 5,
MacroControl = 12,
MathAndTrig = 3,
Statistical = 4,
Text = 7,
UserDefined = 14,
}
const enum InputBoxReturnType {
Formula = 0,
Number = 1,
String = 2,
Boolean = 4,
Range = 8,
ErrorValue = 16,
SafeArray = 64,
}
const enum PivotFieldSubtotal {
Automatic = 1,
Average = 4,
Count = 3,
CountNums = 8,
Max = 5,
Min = 6,
Product = 7,
StdDev = 9,
StdDevp = 10,
Sum = 2,
Var = 11,
Varp = 12,
}
const enum XlAboveBelow {
xlAboveAverage = 0,
xlAboveStdDev = 4,
xlBelowAverage = 1,
xlBelowStdDev = 5,
xlEqualAboveAverage = 2,
xlEqualBelowAverage = 3,
}
const enum XlActionType {
xlActionTypeDrillthrough = 256,
xlActionTypeReport = 128,
xlActionTypeRowset = 16,
xlActionTypeUrl = 1,
}
const enum XlAllocation {
xlAutomaticAllocation = 2,
xlManualAllocation = 1,
}
const enum XlAllocationMethod {
xlEqualAllocation = 1,
xlWeightedAllocation = 2,
}
const enum XlAllocationValue {
xlAllocateIncrement = 2,
xlAllocateValue = 1,
}
const enum XlApplicationInternationalStrings {
xlAlternateArraySeparator = 16,
xlColumnSeparator = 14,
xlCurrencyCode = 25,
xlDecimalSeparator = 3,
xlGeneralFormatName = 26,
xlLeftBrace = 12,
xlLeftBracket = 10,
xlListSeparator = 5,
xlLowerCaseColumnLetter = 9,
xlLowerCaseRowLetter = 8,
xlRightBrace = 13,
xlRightBracket = 11,
xlUpperCaseColumnLetter = 7,
xlUpperCaseRowLetter = 6,
xlDateSeparator = 17,
xlDayCode = 21,
xlHourCode = 22,
xlMinuteCode = 23,
xlMonthCode = 20,
xlRowSeparator = 15,
xlSecondCode = 24,
xlThousandsSeparator = 4,
xlTimeSeparator = 18,
xlYearCode = 19,
}
const enum XlApplicationInternationalNumbers {
xlCountryCode = 1,
xlCountrySetting = 2,
xlCurrencyDigits = 27,
xlCurrencyNegative = 28,
xlNoncurrencyDigits = 29,
xlDateOrder = 32,
xlMonthNameChars = 30,
xlWeekdayNameChars = 31,
}
const enum XlApplicationInternationalBooleans {
xl24HourClock = 33,
xl4DigitYears = 43,
xlCurrencyBefore = 37,
xlCurrencyLeadingZeros = 40,
xlCurrencyMinusSign = 38,
xlCurrencySpaceBefore = 36,
xlCurrencyTrailingZeros = 39,
xlDayLeadingZero = 42,
xlMDY = 44,
xlMetric = 35,
xlMonthLeadingZero = 41,
xlNonEnglishFunctions = 34,
xlTimeLeadingZero = 45,
}
type XlApplicationInternational =
| XlApplicationInternationalStrings
| XlApplicationInternationalNumbers
| XlApplicationInternationalBooleans;
const enum XlApplyNamesOrder {
xlColumnThenRow = 2,
xlRowThenColumn = 1,
}
const enum XlArabicModes {
xlArabicBothStrict = 3,
xlArabicNone = 0,
xlArabicStrictAlefHamza = 1,
xlArabicStrictFinalYaa = 2,
}
const enum XlArrangeStyle {
xlArrangeStyleCascade = 7,
xlArrangeStyleHorizontal = -4128,
xlArrangeStyleTiled = 1,
xlArrangeStyleVertical = -4166,
}
const enum XlArrowHeadLength {
xlArrowHeadLengthLong = 3,
xlArrowHeadLengthMedium = -4138,
xlArrowHeadLengthShort = 1,
}
const enum XlArrowHeadStyle {
xlArrowHeadStyleClosed = 3,
xlArrowHeadStyleDoubleClosed = 5,
xlArrowHeadStyleDoubleOpen = 4,
xlArrowHeadStyleNone = -4142,
xlArrowHeadStyleOpen = 2,
}
const enum XlArrowHeadWidth {
xlArrowHeadWidthMedium = -4138,
xlArrowHeadWidthNarrow = 1,
xlArrowHeadWidthWide = 3,
}
const enum XlAutoFillType {
xlFillCopy = 1,
xlFillDays = 5,
xlFillDefault = 0,
xlFillFormats = 3,
xlFillMonths = 7,
xlFillSeries = 2,
xlFillValues = 4,
xlFillWeekdays = 6,
xlFillYears = 8,
xlGrowthTrend = 10,
xlLinearTrend = 9,
}
const enum XlAutoFilterOperator {
xlAnd = 1,
xlBottom10Items = 4,
xlBottom10Percent = 6,
xlFilterAutomaticFontColor = 13,
xlFilterCellColor = 8,
xlFilterDynamic = 11,
xlFilterFontColor = 9,
xlFilterIcon = 10,
xlFilterNoFill = 12,
xlFilterNoIcon = 14,
xlFilterValues = 7,
xlOr = 2,
xlTop10Items = 3,
xlTop10Percent = 5,
}
const enum XlAxisCrosses {
xlAxisCrossesAutomatic = -4105,
xlAxisCrossesCustom = -4114,
xlAxisCrossesMaximum = 2,
xlAxisCrossesMinimum = 4,
}
const enum XlAxisGroup {
xlPrimary = 1,
xlSecondary = 2,
}
const enum XlAxisType {
xlCategory = 1,
xlSeriesAxis = 3,
xlValue = 2,
}
const enum XlBackground {
xlBackgroundAutomatic = -4105,
xlBackgroundOpaque = 3,
xlBackgroundTransparent = 2,
}
const enum XlBarShape {
xlBox = 0,
xlConeToMax = 5,
xlConeToPoint = 4,
xlCylinder = 3,
xlPyramidToMax = 2,
xlPyramidToPoint = 1,
}
const enum XlBordersIndex {
xlDiagonalDown = 5,
xlDiagonalUp = 6,
xlEdgeBottom = 9,
xlEdgeLeft = 7,
xlEdgeRight = 10,
xlEdgeTop = 8,
xlInsideHorizontal = 12,
xlInsideVertical = 11,
}
const enum XlBorderWeight {
xlHairline = 1,
xlMedium = -4138,
xlThick = 4,
xlThin = 2,
}
const enum XlBuiltInDialog {
_xlDialogChartSourceData = 541,
_xlDialogPhonetic = 538,
xlDialogActivate = 103,
xlDialogActiveCellFont = 476,
xlDialogAddChartAutoformat = 390,
xlDialogAddinManager = 321,
xlDialogAlignment = 43,
xlDialogApplyNames = 133,
xlDialogApplyStyle = 212,
xlDialogAppMove = 170,
xlDialogAppSize = 171,
xlDialogArrangeAll = 12,
xlDialogAssignToObject = 213,
xlDialogAssignToTool = 293,
xlDialogAttachText = 80,
xlDialogAttachToolbars = 323,
xlDialogAutoCorrect = 485,
xlDialogAxes = 78,
xlDialogBorder = 45,
xlDialogCalculation = 32,
xlDialogCellProtection = 46,
xlDialogChangeLink = 166,
xlDialogChartAddData = 392,
xlDialogChartLocation = 527,
xlDialogChartOptionsDataLabelMultiple = 724,
xlDialogChartOptionsDataLabels = 505,
xlDialogChartOptionsDataTable = 506,
xlDialogChartSourceData = 540,
xlDialogChartTrend = 350,
xlDialogChartType = 526,
xlDialogChartWizard = 288,
xlDialogCheckboxProperties = 435,
xlDialogClear = 52,
xlDialogColorPalette = 161,
xlDialogColumnWidth = 47,
xlDialogCombination = 73,
xlDialogConditionalFormatting = 583,
xlDialogConsolidate = 191,
xlDialogCopyChart = 147,
xlDialogCopyPicture = 108,
xlDialogCreateList = 796,
xlDialogCreateNames = 62,
xlDialogCreatePublisher = 217,
xlDialogCustomizeToolbar = 276,
xlDialogCustomViews = 493,
xlDialogDataDelete = 36,
xlDialogDataLabel = 379,
xlDialogDataLabelMultiple = 723,
xlDialogDataSeries = 40,
xlDialogDataValidation = 525,
xlDialogDefineName = 61,
xlDialogDefineStyle = 229,
xlDialogDeleteFormat = 111,
xlDialogDeleteName = 110,
xlDialogDemote = 203,
xlDialogDisplay = 27,
xlDialogDocumentInspector = 862,
xlDialogEditboxProperties = 438,
xlDialogEditColor = 223,
xlDialogEditDelete = 54,
xlDialogEditionOptions = 251,
xlDialogEditSeries = 228,
xlDialogErrorbarX = 463,
xlDialogErrorbarY = 464,
xlDialogErrorChecking = 732,
xlDialogEvaluateFormula = 709,
xlDialogExternalDataProperties = 530,
xlDialogExtract = 35,
xlDialogFileDelete = 6,
xlDialogFileSharing = 481,
xlDialogFillGroup = 200,
xlDialogFillWorkgroup = 301,
xlDialogFilter = 447,
xlDialogFilterAdvanced = 370,
xlDialogFindFile = 475,
xlDialogFont = 26,
xlDialogFontProperties = 381,
xlDialogFormatAuto = 269,
xlDialogFormatChart = 465,
xlDialogFormatCharttype = 423,
xlDialogFormatFont = 150,
xlDialogFormatLegend = 88,
xlDialogFormatMain = 225,
xlDialogFormatMove = 128,
xlDialogFormatNumber = 42,
xlDialogFormatOverlay = 226,
xlDialogFormatSize = 129,
xlDialogFormatText = 89,
xlDialogFormulaFind = 64,
xlDialogFormulaGoto = 63,
xlDialogFormulaReplace = 130,
xlDialogFunctionWizard = 450,
xlDialogGallery3dArea = 193,
xlDialogGallery3dBar = 272,
xlDialogGallery3dColumn = 194,
xlDialogGallery3dLine = 195,
xlDialogGallery3dPie = 196,
xlDialogGallery3dSurface = 273,
xlDialogGalleryArea = 67,
xlDialogGalleryBar = 68,
xlDialogGalleryColumn = 69,
xlDialogGalleryCustom = 388,
xlDialogGalleryDoughnut = 344,
xlDialogGalleryLine = 70,
xlDialogGalleryPie = 71,
xlDialogGalleryRadar = 249,
xlDialogGalleryScatter = 72,
xlDialogGoalSeek = 198,
xlDialogGridlines = 76,
xlDialogImportTextFile = 666,
xlDialogInsert = 55,
xlDialogInsertHyperlink = 596,
xlDialogInsertNameLabel = 496,
xlDialogInsertObject = 259,
xlDialogInsertPicture = 342,
xlDialogInsertTitle = 380,
xlDialogLabelProperties = 436,
xlDialogListboxProperties = 437,
xlDialogMacroOptions = 382,
xlDialogMailEditMailer = 470,
xlDialogMailLogon = 339,
xlDialogMailNextLetter = 378,
xlDialogMainChart = 85,
xlDialogMainChartType = 185,
xlDialogMenuEditor = 322,
xlDialogMove = 262,
xlDialogMyPermission = 834,
xlDialogNameManager = 977,
xlDialogNew = 119,
xlDialogNewName = 978,
xlDialogNewWebQuery = 667,
xlDialogNote = 154,
xlDialogObjectProperties = 207,
xlDialogObjectProtection = 214,
xlDialogOpen = 1,
xlDialogOpenLinks = 2,
xlDialogOpenMail = 188,
xlDialogOpenText = 441,
xlDialogOptionsCalculation = 318,
xlDialogOptionsChart = 325,
xlDialogOptionsEdit = 319,
xlDialogOptionsGeneral = 356,
xlDialogOptionsListsAdd = 458,
xlDialogOptionsME = 647,
xlDialogOptionsTransition = 355,
xlDialogOptionsView = 320,
xlDialogOutline = 142,
xlDialogOverlay = 86,
xlDialogOverlayChartType = 186,
xlDialogPageSetup = 7,
xlDialogParse = 91,
xlDialogPasteNames = 58,
xlDialogPasteSpecial = 53,
xlDialogPatterns = 84,
xlDialogPermission = 832,
xlDialogPhonetic = 656,
xlDialogPivotCalculatedField = 570,
xlDialogPivotCalculatedItem = 572,
xlDialogPivotClientServerSet = 689,
xlDialogPivotFieldGroup = 433,
xlDialogPivotFieldProperties = 313,
xlDialogPivotFieldUngroup = 434,
xlDialogPivotShowPages = 421,
xlDialogPivotSolveOrder = 568,
xlDialogPivotTableOptions = 567,
xlDialogPivotTableSlicerConnections = 1183,
xlDialogPivotTableWhatIfAnalysisSettings = 1153,
xlDialogPivotTableWizard = 312,
xlDialogPlacement = 300,
xlDialogPrint = 8,
xlDialogPrinterSetup = 9,
xlDialogPrintPreview = 222,
xlDialogPromote = 202,
xlDialogProperties = 474,
xlDialogPropertyFields = 754,
xlDialogProtectDocument = 28,
xlDialogProtectSharing = 620,
xlDialogPublishAsWebPage = 653,
xlDialogPushbuttonProperties = 445,
xlDialogReplaceFont = 134,
xlDialogRoutingSlip = 336,
xlDialogRowHeight = 127,
xlDialogRun = 17,
xlDialogSaveAs = 5,
xlDialogSaveCopyAs = 456,
xlDialogSaveNewObject = 208,
xlDialogSaveWorkbook = 145,
xlDialogSaveWorkspace = 285,
xlDialogScale = 87,
xlDialogScenarioAdd = 307,
xlDialogScenarioCells = 305,
xlDialogScenarioEdit = 308,
xlDialogScenarioMerge = 473,
xlDialogScenarioSummary = 311,
xlDialogScrollbarProperties = 420,
xlDialogSearch = 731,
xlDialogSelectSpecial = 132,
xlDialogSendMail = 189,
xlDialogSeriesAxes = 460,
xlDialogSeriesOptions = 557,
xlDialogSeriesOrder = 466,
xlDialogSeriesShape = 504,
xlDialogSeriesX = 461,
xlDialogSeriesY = 462,
xlDialogSetBackgroundPicture = 509,
xlDialogSetManager = 1109,
xlDialogSetMDXEditor = 1208,
xlDialogSetPrintTitles = 23,
xlDialogSetTupleEditorOnColumns = 1108,
xlDialogSetTupleEditorOnRows = 1107,
xlDialogSetUpdateStatus = 159,
xlDialogShowDetail = 204,
xlDialogShowToolbar = 220,
xlDialogSize = 261,
xlDialogSlicerCreation = 1182,
xlDialogSlicerPivotTableConnections = 1184,
xlDialogSlicerSettings = 1179,
xlDialogSort = 39,
xlDialogSortSpecial = 192,
xlDialogSparklineInsertColumn = 1134,
xlDialogSparklineInsertLine = 1133,
xlDialogSparklineInsertWinLoss = 1135,
xlDialogSplit = 137,
xlDialogStandardFont = 190,
xlDialogStandardWidth = 472,
xlDialogStyle = 44,
xlDialogSubscribeTo = 218,
xlDialogSubtotalCreate = 398,
xlDialogSummaryInfo = 474,
xlDialogTable = 41,
xlDialogTabOrder = 394,
xlDialogTextToColumns = 422,
xlDialogUnhide = 94,
xlDialogUpdateLink = 201,
xlDialogVbaInsertFile = 328,
xlDialogVbaMakeAddin = 478,
xlDialogVbaProcedureDefinition = 330,
xlDialogView3d = 197,
xlDialogWebOptionsBrowsers = 773,
xlDialogWebOptionsEncoding = 686,
xlDialogWebOptionsFiles = 684,
xlDialogWebOptionsFonts = 687,
xlDialogWebOptionsGeneral = 683,
xlDialogWebOptionsPictures = 685,
xlDialogWindowMove = 14,
xlDialogWindowSize = 13,
xlDialogWorkbookAdd = 281,
xlDialogWorkbookCopy = 283,
xlDialogWorkbookInsert = 354,
xlDialogWorkbookMove = 282,
xlDialogWorkbookName = 386,
xlDialogWorkbookNew = 302,
xlDialogWorkbookOptions = 284,
xlDialogWorkbookProtect = 417,
xlDialogWorkbookTabSplit = 415,
xlDialogWorkbookUnhide = 384,
xlDialogWorkgroup = 199,
xlDialogWorkspace = 95,
xlDialogZoom = 256,
}
const enum XlCalcFor {
xlAllValues = 0,
xlColGroups = 2,
xlRowGroups = 1,
}
const enum XlCalculatedMemberType {
xlCalculatedMember = 0,
xlCalculatedSet = 1,
}
const enum XlCalculation {
xlCalculationAutomatic = -4105,
xlCalculationManual = -4135,
xlCalculationSemiautomatic = 2,
}
const enum XlCalculationInterruptKey {
xlAnyKey = 2,
xlEscKey = 1,
xlNoKey = 0,
}
const enum XlCalculationState {
xlCalculating = 1,
xlDone = 0,
xlPending = 2,
}
const enum XlCategoryType {
xlAutomaticScale = -4105,
xlCategoryScale = 2,
xlTimeScale = 3,
}
const enum XlCellChangedState {
xlCellChangeApplied = 3,
xlCellChanged = 2,
xlCellNotChanged = 1,
}
const enum XlCellInsertionMode {
xlInsertDeleteCells = 1,
xlInsertEntireRows = 2,
xlOverwriteCells = 0,
}
const enum XlCellType {
xlCellTypeAllFormatConditions = -4172,
xlCellTypeAllValidation = -4174,
xlCellTypeBlanks = 4,
xlCellTypeComments = -4144,
xlCellTypeConstants = 2,
xlCellTypeFormulas = -4123,
xlCellTypeLastCell = 11,
xlCellTypeSameFormatConditions = -4173,
xlCellTypeSameValidation = -4175,
xlCellTypeVisible = 12,
}
const enum XlChartElementPosition {
xlChartElementPositionAutomatic = -4105,
xlChartElementPositionCustom = -4114,
}
const enum XlChartGallery {
xlAnyGallery = 23,
xlBuiltIn = 21,
xlUserDefined = 22,
}
const enum XlChartItem {
xlAxis = 21,
xlAxisTitle = 17,
xlChartArea = 2,
xlChartTitle = 4,
xlCorners = 6,
xlDataLabel = 0,
xlDataTable = 7,
xlDisplayUnitLabel = 30,
xlDownBars = 20,
xlDropLines = 26,
xlErrorBars = 9,
xlFloor = 23,
xlHiLoLines = 25,
xlLeaderLines = 29,
xlLegend = 24,
xlLegendEntry = 12,
xlLegendKey = 13,
xlMajorGridlines = 15,
xlMinorGridlines = 16,
xlNothing = 28,
xlPivotChartDropZone = 32,
xlPivotChartFieldButton = 31,
xlPlotArea = 19,
xlRadarAxisLabels = 27,
xlSeries = 3,
xlSeriesLines = 22,
xlShape = 14,
xlTrendline = 8,
xlUpBars = 18,
xlWalls = 5,
xlXErrorBars = 10,
xlYErrorBars = 11,
}
const enum XlChartLocation {
xlLocationAsNewSheet = 1,
xlLocationAsObject = 2,
xlLocationAutomatic = 3,
}
const enum XlChartPicturePlacement {
xlAllFaces = 7,
xlEnd = 2,
xlEndSides = 3,
xlFront = 4,
xlFrontEnd = 6,
xlFrontSides = 5,
xlSides = 1,
}
const enum XlChartPictureType {
xlStack = 2,
xlStackScale = 3,
xlStretch = 1,
}
const enum XlChartSplitType {
xlSplitByCustomSplit = 4,
xlSplitByPercentValue = 3,
xlSplitByPosition = 1,
xlSplitByValue = 2,
}
const enum XlChartType {
xl3DArea = -4098,
xl3DAreaStacked = 78,
xl3DAreaStacked100 = 79,
xl3DBarClustered = 60,
xl3DBarStacked = 61,
xl3DBarStacked100 = 62,
xl3DColumn = -4100,
xl3DColumnClustered = 54,
xl3DColumnStacked = 55,
xl3DColumnStacked100 = 56,
xl3DLine = -4101,
xl3DPie = -4102,
xl3DPieExploded = 70,
xlArea = 1,
xlAreaStacked = 76,
xlAreaStacked100 = 77,
xlBarClustered = 57,
xlBarOfPie = 71,
xlBarStacked = 58,
xlBarStacked100 = 59,
xlBubble = 15,
xlBubble3DEffect = 87,
xlColumnClustered = 51,
xlColumnStacked = 52,
xlColumnStacked100 = 53,
xlConeBarClustered = 102,
xlConeBarStacked = 103,
xlConeBarStacked100 = 104,
xlConeCol = 105,
xlConeColClustered = 99,
xlConeColStacked = 100,
xlConeColStacked100 = 101,
xlCylinderBarClustered = 95,
xlCylinderBarStacked = 96,
xlCylinderBarStacked100 = 97,
xlCylinderCol = 98,
xlCylinderColClustered = 92,
xlCylinderColStacked = 93,
xlCylinderColStacked100 = 94,
xlDoughnut = -4120,
xlDoughnutExploded = 80,
xlLine = 4,
xlLineMarkers = 65,
xlLineMarkersStacked = 66,
xlLineMarkersStacked100 = 67,
xlLineStacked = 63,
xlLineStacked100 = 64,
xlPie = 5,
xlPieExploded = 69,
xlPieOfPie = 68,
xlPyramidBarClustered = 109,
xlPyramidBarStacked = 110,
xlPyramidBarStacked100 = 111,
xlPyramidCol = 112,
xlPyramidColClustered = 106,
xlPyramidColStacked = 107,
xlPyramidColStacked100 = 108,
xlRadar = -4151,
xlRadarFilled = 82,
xlRadarMarkers = 81,
xlStockHLC = 88,
xlStockOHLC = 89,
xlStockVHLC = 90,
xlStockVOHLC = 91,
xlSurface = 83,
xlSurfaceTopView = 85,
xlSurfaceTopViewWireframe = 86,
xlSurfaceWireframe = 84,
xlXYScatter = -4169,
xlXYScatterLines = 74,
xlXYScatterLinesNoMarkers = 75,
xlXYScatterSmooth = 72,
xlXYScatterSmoothNoMarkers = 73,
}
const enum XlCheckInVersionType {
xlCheckInMajorVersion = 1,
xlCheckInMinorVersion = 0,
xlCheckInOverwriteVersion = 2,
}
const enum XlClipboardFormat {
xlClipboardFormatBIFF = 8,
xlClipboardFormatBIFF12 = 63,
xlClipboardFormatBIFF2 = 18,
xlClipboardFormatBIFF3 = 20,
xlClipboardFormatBIFF4 = 30,
xlClipboardFormatBinary = 15,
xlClipboardFormatBitmap = 9,
xlClipboardFormatCGM = 13,
xlClipboardFormatCSV = 5,
xlClipboardFormatDIF = 4,
xlClipboardFormatDspText = 12,
xlClipboardFormatEmbeddedObject = 21,
xlClipboardFormatEmbedSource = 22,
xlClipboardFormatLink = 11,
xlClipboardFormatLinkSource = 23,
xlClipboardFormatLinkSourceDesc = 32,
xlClipboardFormatMovie = 24,
xlClipboardFormatNative = 14,
xlClipboardFormatObjectDesc = 31,
xlClipboardFormatObjectLink = 19,
xlClipboardFormatOwnerLink = 17,
xlClipboardFormatPICT = 2,
xlClipboardFormatPrintPICT = 3,
xlClipboardFormatRTF = 7,
xlClipboardFormatScreenPICT = 29,
xlClipboardFormatStandardFont = 28,
xlClipboardFormatStandardScale = 27,
xlClipboardFormatSYLK = 6,
xlClipboardFormatTable = 16,
xlClipboardFormatText = 0,
xlClipboardFormatToolFace = 25,
xlClipboardFormatToolFacePICT = 26,
xlClipboardFormatVALU = 1,
xlClipboardFormatWK1 = 10,
}
const enum XlCmdType {
xlCmdCube = 1,
xlCmdDefault = 4,
xlCmdList = 5,
xlCmdSql = 2,
xlCmdTable = 3,
}
const enum XlColorIndex {
xlColorIndexAutomatic = -4105,
xlColorIndexNone = -4142,
}
const enum XlColumnDataType {
xlDMYFormat = 4,
xlDYMFormat = 7,
xlEMDFormat = 10,
xlGeneralFormat = 1,
xlMDYFormat = 3,
xlMYDFormat = 6,
xlSkipColumn = 9,
xlTextFormat = 2,
xlYDMFormat = 8,
xlYMDFormat = 5,
}
const enum XlCommandUnderlines {
xlCommandUnderlinesAutomatic = -4105,
xlCommandUnderlinesOff = -4146,
xlCommandUnderlinesOn = 1,
}
const enum XlCommentDisplayMode {
xlCommentAndIndicator = 1,
xlCommentIndicatorOnly = -1,
xlNoIndicator = 0,
}
const enum XlConditionValueTypes {
xlConditionValueAutomaticMax = 7,
xlConditionValueAutomaticMin = 6,
xlConditionValueFormula = 4,
xlConditionValueHighestValue = 2,
xlConditionValueLowestValue = 1,
xlConditionValueNone = -1,
xlConditionValueNumber = 0,
xlConditionValuePercent = 3,
xlConditionValuePercentile = 5,
}
const enum XlConnectionType {
xlConnectionTypeODBC = 2,
xlConnectionTypeOLEDB = 1,
xlConnectionTypeTEXT = 4,
xlConnectionTypeWEB = 5,
xlConnectionTypeXMLMAP = 3,
}
const enum XlConsolidationFunction {
xlAverage = -4106,
xlCount = -4112,
xlCountNums = -4113,
xlMax = -4136,
xlMin = -4139,
xlProduct = -4149,
xlStDev = -4155,
xlStDevP = -4156,
xlSum = -4157,
xlUnknown = 1000,
xlVar = -4164,
xlVarP = -4165,
}
const enum XlContainsOperator {
xlBeginsWith = 2,
xlContains = 0,
xlDoesNotContain = 1,
xlEndsWith = 3,
}
const enum XlCopyPictureFormat {
xlBitmap = 2,
xlPicture = -4147,
}
const enum XlCorruptLoad {
xlExtractData = 2,
xlNormalLoad = 0,
xlRepairFile = 1,
}
const enum XlCreator {
xlCreatorCode = 1480803660,
}
const enum XlCredentialsMethod {
xlCredentialsMethodIntegrated = 0,
xlCredentialsMethodNone = 1,
xlCredentialsMethodStored = 2,
}
const enum XlCubeFieldSubType {
xlCubeAttribute = 4,
xlCubeCalculatedMeasure = 5,
xlCubeHierarchy = 1,
xlCubeKPIGoal = 7,
xlCubeKPIStatus = 8,
xlCubeKPITrend = 9,
xlCubeKPIValue = 6,
xlCubeKPIWeight = 10,
xlCubeMeasure = 2,
xlCubeSet = 3,
}
const enum XlCubeFieldType {
xlHierarchy = 1,
xlMeasure = 2,
xlSet = 3,
}
const enum XlCutCopyMode {
xlCopy = 1,
xlCut = 2,
}
const enum XlCVError {
xlErrDiv0 = 2007,
xlErrNA = 2042,
xlErrName = 2029,
xlErrNull = 2000,
xlErrNum = 2036,
xlErrRef = 2023,
xlErrValue = 2015,
}
const enum XlDataBarAxisPosition {
xlDataBarAxisAutomatic = 0,
xlDataBarAxisMidpoint = 1,
xlDataBarAxisNone = 2,
}
const enum XlDataBarBorderType {
xlDataBarBorderNone = 0,
xlDataBarBorderSolid = 1,
}
const enum XlDataBarFillType {
xlDataBarFillGradient = 1,
xlDataBarFillSolid = 0,
}
const enum XlDataBarNegativeColorType {
xlDataBarColor = 0,
xlDataBarSameAsPositive = 1,
}
const enum XlDataLabelPosition {
xlLabelPositionAbove = 0,
xlLabelPositionBelow = 1,
xlLabelPositionBestFit = 5,
xlLabelPositionCenter = -4108,
xlLabelPositionCustom = 7,
xlLabelPositionInsideBase = 4,
xlLabelPositionInsideEnd = 3,
xlLabelPositionLeft = -4131,
xlLabelPositionMixed = 6,
xlLabelPositionOutsideEnd = 2,
xlLabelPositionRight = -4152,
}
const enum XlDataLabelSeparator {
xlDataLabelSeparatorDefault = 1,
}
const enum XlDataLabelsType {
xlDataLabelsShowBubbleSizes = 6,
xlDataLabelsShowLabel = 4,
xlDataLabelsShowLabelAndPercent = 5,
xlDataLabelsShowNone = -4142,
xlDataLabelsShowPercent = 3,
xlDataLabelsShowValue = 2,
}
const enum XlDataSeriesDate {
xlDay = 1,
xlMonth = 3,
xlWeekday = 2,
xlYear = 4,
}
const enum XlDataSeriesType {
xlAutoFill = 4,
xlChronological = 3,
xlDataSeriesLinear = -4132,
xlGrowth = 2,
}
const enum XlDeleteShiftDirection {
xlShiftToLeft = -4159,
xlShiftUp = -4162,
}
const enum XlDirection {
xlDown = -4121,
xlToLeft = -4159,
xlToRight = -4161,
xlUp = -4162,
}
const enum XlDisplayBlanksAs {
xlInterpolated = 3,
xlNotPlotted = 1,
xlZero = 2,
}
const enum XlDisplayDrawingObjects {
xlDisplayShapes = -4104,
xlHide = 3,
xlPlaceholders = 2,
}
const enum XlDisplayUnit {
xlHundredMillions = -8,
xlHundreds = -2,
xlHundredThousands = -5,
xlMillionMillions = -10,
xlMillions = -6,
xlTenMillions = -7,
xlTenThousands = -4,
xlThousandMillions = -9,
xlThousands = -3,
}
const enum XlDupeUnique {
xlDuplicate = 1,
xlUnique = 0,
}
const enum XlDVAlertStyle {
xlValidAlertInformation = 3,
xlValidAlertStop = 1,
xlValidAlertWarning = 2,
}
const enum XlDVType {
xlValidateCustom = 7,
xlValidateDate = 4,
xlValidateDecimal = 2,
xlValidateInputOnly = 0,
xlValidateList = 3,
xlValidateTextLength = 6,
xlValidateTime = 5,
xlValidateWholeNumber = 1,
}
const enum XlDynamicFilterCriteria {
xlFilterAboveAverage = 33,
xlFilterAllDatesInPeriodApril = 24,
xlFilterAllDatesInPeriodAugust = 28,
xlFilterAllDatesInPeriodDecember = 32,
xlFilterAllDatesInPeriodFebruray = 22,
xlFilterAllDatesInPeriodJanuary = 21,
xlFilterAllDatesInPeriodJuly = 27,
xlFilterAllDatesInPeriodJune = 26,
xlFilterAllDatesInPeriodMarch = 23,
xlFilterAllDatesInPeriodMay = 25,
xlFilterAllDatesInPeriodNovember = 31,
xlFilterAllDatesInPeriodOctober = 30,
xlFilterAllDatesInPeriodQuarter1 = 17,
xlFilterAllDatesInPeriodQuarter2 = 18,
xlFilterAllDatesInPeriodQuarter3 = 19,
xlFilterAllDatesInPeriodQuarter4 = 20,
xlFilterAllDatesInPeriodSeptember = 29,
xlFilterBelowAverage = 34,
xlFilterLastMonth = 8,
xlFilterLastQuarter = 11,
xlFilterLastWeek = 5,
xlFilterLastYear = 14,
xlFilterNextMonth = 9,
xlFilterNextQuarter = 12,
xlFilterNextWeek = 6,
xlFilterNextYear = 15,
xlFilterThisMonth = 7,
xlFilterThisQuarter = 10,
xlFilterThisWeek = 4,
xlFilterThisYear = 13,
xlFilterToday = 1,
xlFilterTomorrow = 3,
xlFilterYearToDate = 16,
xlFilterYesterday = 2,
}
const enum XlEditionFormat {
xlBIFF = 2,
xlPICT = 1,
xlRTF = 4,
xlVALU = 8,
}
const enum XlEditionOptionsOption {
xlAutomaticUpdate = 4,
xlCancel = 1,
xlChangeAttributes = 6,
xlManualUpdate = 5,
xlOpenSource = 3,
xlSelect = 3,
xlSendPublisher = 2,
xlUpdateSubscriber = 2,
}
const enum XlEditionType {
xlPublisher = 1,
xlSubscriber = 2,
}
const enum XlEnableCancelKey {
xlDisabled = 0,
xlErrorHandler = 2,
xlInterrupt = 1,
}
const enum XlEnableSelection {
xlNoRestrictions = 0,
xlNoSelection = -4142,
xlUnlockedCells = 1,
}
const enum XlEndStyleCap {
xlCap = 1,
xlNoCap = 2,
}
const enum XlErrorBarDirection {
xlX = -4168,
xlY = 1,
}
const enum XlErrorBarInclude {
xlErrorBarIncludeBoth = 1,
xlErrorBarIncludeMinusValues = 3,
xlErrorBarIncludeNone = -4142,
xlErrorBarIncludePlusValues = 2,
}
const enum XlErrorBarType {
xlErrorBarTypeCustom = -4114,
xlErrorBarTypeFixedValue = 1,
xlErrorBarTypePercent = 2,
xlErrorBarTypeStDev = -4155,
xlErrorBarTypeStError = 4,
}
const enum XlErrorChecks {
xlEmptyCellReferences = 7,
xlEvaluateToError = 1,
xlInconsistentFormula = 4,
xlInconsistentListFormula = 9,
xlListDataValidation = 8,
xlNumberAsText = 3,
xlOmittedCells = 5,
xlTextDate = 2,
xlUnlockedFormulaCells = 6,
}
const enum XlFileAccess {
xlReadOnly = 3,
xlReadWrite = 2,
}
const enum XlFileFormat {
xlAddIn = 18,
xlAddIn8 = 18,
xlCSV = 6,
xlCSVMac = 22,
xlCSVMSDOS = 24,
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,
}
const enum XlFileValidationPivotMode {
xlFileValidationPivotDefault = 0,
xlFileValidationPivotRun = 1,
xlFileValidationPivotSkip = 2,
}
const enum XlFillWith {
xlFillWithAll = -4104,
xlFillWithContents = 2,
xlFillWithFormats = -4122,
}
const enum XlFilterAction {
xlFilterCopy = 2,
xlFilterInPlace = 1,
}
const enum XlFilterAllDatesInPeriod {
xlFilterAllDatesInPeriodDay = 2,
xlFilterAllDatesInPeriodHour = 3,
xlFilterAllDatesInPeriodMinute = 4,
xlFilterAllDatesInPeriodMonth = 1,
xlFilterAllDatesInPeriodSecond = 5,
xlFilterAllDatesInPeriodYear = 0,
}
const enum XlFindLookIn {
xlComments = -4144,
xlFormulas = -4123,
xlValues = -4163,
}
const enum XlFixedFormatQuality {
xlQualityMinimum = 1,
xlQualityStandard = 0,
}
const enum XlFixedFormatType {
xlTypePDF = 0,
xlTypeXPS = 1,
}
const enum XlFormatConditionOperator {
xlBetween = 1,
xlEqual = 3,
xlGreater = 5,
xlGreaterEqual = 7,
xlLess = 6,
xlLessEqual = 8,
xlNotBetween = 2,
xlNotEqual = 4,
}
const enum XlFormatConditionType {
xlAboveAverageCondition = 12,
xlBlanksCondition = 10,
xlCellValue = 1,
xlColorScale = 3,
xlDatabar = 4,
xlErrorsCondition = 16,
xlExpression = 2,
xlIconSets = 6,
xlNoBlanksCondition = 13,
xlNoErrorsCondition = 17,
xlTextString = 9,
xlTimePeriod = 11,
xlTop10 = 5,
xlUniqueValues = 8,
}
const enum XlFormatFilterTypes {
xlFilterBottom = 0,
xlFilterBottomPercent = 2,
xlFilterTop = 1,
xlFilterTopPercent = 3,
}
const enum XlFormControl {
xlButtonControl = 0,
xlCheckBox = 1,
xlDropDown = 2,
xlEditBox = 3,
xlGroupBox = 4,
xlLabel = 5,
xlListBox = 6,
xlOptionButton = 7,
xlScrollBar = 8,
xlSpinner = 9,
}
const enum XlFormulaLabel {
xlColumnLabels = 2,
xlMixedLabels = 3,
xlNoLabels = -4142,
xlRowLabels = 1,
}
const enum XlGenerateTableRefs {
xlGenerateTableRefA1 = 0,
xlGenerateTableRefStruct = 1,
}
const enum XlGradientFillType {
xlGradientFillLinear = 0,
xlGradientFillPath = 1,
}
const enum XlHAlign {
xlHAlignCenter = -4108,
xlHAlignCenterAcrossSelection = 7,
xlHAlignDistributed = -4117,
xlHAlignFill = 5,
xlHAlignGeneral = 1,
xlHAlignJustify = -4130,
xlHAlignLeft = -4131,
xlHAlignRight = -4152,
}
const enum XlHebrewModes {
xlHebrewFullScript = 0,
xlHebrewMixedAuthorizedScript = 3,
xlHebrewMixedScript = 2,
xlHebrewPartialScript = 1,
}
const enum XlHighlightChangesTime {
xlAllChanges = 2,
xlNotYetReviewed = 3,
xlSinceMyLastSave = 1,
}
const enum XlHtmlType {
xlHtmlCalc = 1,
xlHtmlChart = 3,
xlHtmlList = 2,
xlHtmlStatic = 0,
}
const enum XlIcon {
xlIcon0Bars = 37,
xlIcon0FilledBoxes = 52,
xlIcon1Bar = 38,
xlIcon1FilledBox = 51,
xlIcon2Bars = 39,
xlIcon2FilledBoxes = 50,
xlIcon3Bars = 40,
xlIcon3FilledBoxes = 49,
xlIcon4Bars = 41,
xlIcon4FilledBoxes = 48,
xlIconBlackCircle = 32,
xlIconBlackCircleWithBorder = 13,
xlIconCircleWithOneWhiteQuarter = 33,
xlIconCircleWithThreeWhiteQuarters = 35,
xlIconCircleWithTwoWhiteQuarters = 34,
xlIconGoldStar = 42,
xlIconGrayCircle = 31,
xlIconGrayDownArrow = 6,
xlIconGrayDownInclineArrow = 28,
xlIconGraySideArrow = 5,
xlIconGrayUpArrow = 4,
xlIconGrayUpInclineArrow = 27,
xlIconGreenCheck = 22,
xlIconGreenCheckSymbol = 19,
xlIconGreenCircle = 10,
xlIconGreenFlag = 7,
xlIconGreenTrafficLight = 14,
xlIconGreenUpArrow = 1,
xlIconGreenUpTriangle = 45,
xlIconHalfGoldStar = 43,
xlIconNoCellIcon = -1,
xlIconPinkCircle = 30,
xlIconRedCircle = 29,
xlIconRedCircleWithBorder = 12,
xlIconRedCross = 24,
xlIconRedCrossSymbol = 21,
xlIconRedDiamond = 18,
xlIconRedDownArrow = 3,
xlIconRedDownTriangle = 47,
xlIconRedFlag = 9,
xlIconRedTrafficLight = 16,
xlIconSilverStar = 44,
xlIconWhiteCircleAllWhiteQuarters = 36,
xlIconYellowCircle = 11,
xlIconYellowDash = 46,
xlIconYellowDownInclineArrow = 26,
xlIconYellowExclamation = 23,
xlIconYellowExclamationSymbol = 20,
xlIconYellowFlag = 8,
xlIconYellowSideArrow = 2,
xlIconYellowTrafficLight = 15,
xlIconYellowTriangle = 17,
xlIconYellowUpInclineArrow = 25,
}
const enum XlIconSet {
xl3Arrows = 1,
xl3ArrowsGray = 2,
xl3Flags = 3,
xl3Signs = 6,
xl3Stars = 18,
xl3Symbols = 7,
xl3Symbols2 = 8,
xl3TrafficLights1 = 4,
xl3TrafficLights2 = 5,
xl3Triangles = 19,
xl4Arrows = 9,
xl4ArrowsGray = 10,
xl4CRV = 12,
xl4RedToBlack = 11,
xl4TrafficLights = 13,
xl5Arrows = 14,
xl5ArrowsGray = 15,
xl5Boxes = 20,
xl5CRV = 16,
xl5Quarters = 17,
xlCustomSet = -1,
}
const enum XlIMEMode {
xlIMEModeAlpha = 8,
xlIMEModeAlphaFull = 7,
xlIMEModeDisable = 3,
xlIMEModeHangul = 10,
xlIMEModeHangulFull = 9,
xlIMEModeHiragana = 4,
xlIMEModeKatakana = 5,
xlIMEModeKatakanaHalf = 6,
xlIMEModeNoControl = 0,
xlIMEModeOff = 2,
xlIMEModeOn = 1,
}
const enum XlImportDataAs {
xlPivotTableReport = 1,
xlQueryTable = 0,
xlTable = 2,
}
const enum XlInsertFormatOrigin {
xlFormatFromLeftOrAbove = 0,
xlFormatFromRightOrBelow = 1,
}
const enum XlInsertShiftDirection {
xlShiftDown = -4121,
xlShiftToRight = -4161,
}
const enum XlLayoutFormType {
xlOutline = 1,
xlTabular = 0,
}
const enum XlLayoutRowType {
xlCompactRow = 0,
xlOutlineRow = 2,
xlTabularRow = 1,
}
const enum XlLegendPosition {
xlLegendPositionBottom = -4107,
xlLegendPositionCorner = 2,
xlLegendPositionCustom = -4161,
xlLegendPositionLeft = -4131,
xlLegendPositionRight = -4152,
xlLegendPositionTop = -4160,
}
const enum XlLineStyle {
xlContinuous = 1,
xlDash = -4115,
xlDashDot = 4,
xlDashDotDot = 5,
xlDot = -4118,
xlDouble = -4119,
xlLineStyleNone = -4142,
xlSlantDashDot = 13,
}
const enum XlLink {
xlExcelLinks = 1,
xlOLELinks = 2,
xlPublishers = 5,
xlSubscribers = 6,
}
const enum XlLinkInfo {
xlEditionDate = 2,
xlLinkInfoStatus = 3,
xlUpdateState = 1,
}
const enum XlLinkInfoType {
xlLinkInfoOLELinks = 2,
xlLinkInfoPublishers = 5,
xlLinkInfoSubscribers = 6,
}
const enum XlLinkStatus {
xlLinkStatusCopiedValues = 10,
xlLinkStatusIndeterminate = 5,
xlLinkStatusInvalidName = 7,
xlLinkStatusMissingFile = 1,
xlLinkStatusMissingSheet = 2,
xlLinkStatusNotStarted = 6,
xlLinkStatusOK = 0,
xlLinkStatusOld = 3,
xlLinkStatusSourceNotCalculated = 4,
xlLinkStatusSourceNotOpen = 8,
xlLinkStatusSourceOpen = 9,
}
const enum XlLinkType {
xlLinkTypeExcelLinks = 1,
xlLinkTypeOLELinks = 2,
}
const enum XlListConflict {
xlListConflictDialog = 0,
xlListConflictDiscardAllConflicts = 2,
xlListConflictError = 3,
xlListConflictRetryAllConflicts = 1,
}
const enum XlListDataType {
xlListDataTypeCheckbox = 9,
xlListDataTypeChoice = 6,
xlListDataTypeChoiceMulti = 7,
xlListDataTypeCounter = 11,
xlListDataTypeCurrency = 4,
xlListDataTypeDateTime = 5,
xlListDataTypeHyperLink = 10,
xlListDataTypeListLookup = 8,
xlListDataTypeMultiLineRichText = 12,
xlListDataTypeMultiLineText = 2,
xlListDataTypeNone = 0,
xlListDataTypeNumber = 3,
xlListDataTypeText = 1,
}
const enum XlListObjectSourceType {
xlSrcExternal = 0,
xlSrcQuery = 3,
xlSrcRange = 1,
xlSrcXml = 2,
}
const enum XlLocationInTable {
xlColumnHeader = -4110,
xlColumnItem = 5,
xlDataHeader = 3,
xlDataItem = 7,
xlPageHeader = 2,
xlPageItem = 6,
xlRowHeader = -4153,
xlRowItem = 4,
xlTableBody = 8,
}
const enum XlLookAt {
xlPart = 2,
xlWhole = 1,
}
const enum XlLookFor {
xlLookForBlanks = 0,
xlLookForErrors = 1,
xlLookForFormulas = 2,
}
const enum XlMailSystem {
xlMAPI = 1,
xlNoMailSystem = 0,
xlPowerTalk = 2,
}
const enum XlMarkerStyle {
xlMarkerStyleAutomatic = -4105,
xlMarkerStyleCircle = 8,
xlMarkerStyleDash = -4115,
xlMarkerStyleDiamond = 2,
xlMarkerStyleDot = -4118,
xlMarkerStyleNone = -4142,
xlMarkerStylePicture = -4147,
xlMarkerStylePlus = 9,
xlMarkerStyleSquare = 1,
xlMarkerStyleStar = 5,
xlMarkerStyleTriangle = 3,
xlMarkerStyleX = -4168,
}
const enum XlMeasurementUnits {
xlCentimeters = 1,
xlInches = 0,
xlMillimeters = 2,
}
const enum XlMouseButton {
xlNoButton = 0,
xlPrimaryButton = 1,
xlSecondaryButton = 2,
}
const enum XlMousePointer {
xlDefault = -4143,
xlIBeam = 3,
xlNorthwestArrow = 1,
xlWait = 2,
}
const enum XlMSApplication {
xlMicrosoftAccess = 4,
xlMicrosoftFoxPro = 5,
xlMicrosoftMail = 3,
xlMicrosoftPowerPoint = 2,
xlMicrosoftProject = 6,
xlMicrosoftSchedulePlus = 7,
xlMicrosoftWord = 1,
}
const enum XlOartHorizontalOverflow {
xlOartHorizontalOverflowClip = 1,
xlOartHorizontalOverflowOverflow = 0,
}
const enum XlOartVerticalOverflow {
xlOartVerticalOverflowClip = 1,
xlOartVerticalOverflowEllipsis = 2,
xlOartVerticalOverflowOverflow = 0,
}
const enum XlObjectSize {
xlFitToPage = 2,
xlFullPage = 3,
xlScreenSize = 1,
}
const enum XlOLEType {