Reference

The COM object is a QAxObject with the CLSID .

Interfaces

Event Interfaces

Public Slots:

Signals:

Properties:


Member Type Documentation

Constants

XlAboveBelow

XlActionType

XlAllocation

XlAllocationMethod

XlAllocationValue

XlApplicationInternational

XlApplyNamesOrder

XlArabicModes

XlArrangeStyle

XlArrowHeadLength

XlArrowHeadStyle

XlArrowHeadWidth

XlAutoFillType

XlAutoFilterOperator

XlAxisCrosses

XlAxisGroup

XlAxisType

XlBackground

XlBarShape

XlBorderWeight

XlBordersIndex

XlBuiltInDialog

XlCVError

XlCalcFor

XlCalcMemNumberFormatType

XlCalculatedMemberType

XlCalculation

XlCalculationInterruptKey

XlCalculationState

XlCategoryLabelLevel

XlCategoryType

XlCellChangedState

XlCellInsertionMode

XlCellType

XlChartElementPosition

XlChartGallery

XlChartItem

XlChartLocation

XlChartPicturePlacement

XlChartPictureType

XlChartSplitType

XlChartType

XlCheckInVersionType

XlClipboardFormat

XlCmdType

XlColorIndex

XlColumnDataType

XlCommandUnderlines

XlCommentDisplayMode

XlConditionValueTypes

XlConnectionType

XlConsolidationFunction

XlContainsOperator

XlCopyPictureFormat

XlCorruptLoad

XlCreator

XlCredentialsMethod

XlCubeFieldSubType

XlCubeFieldType

XlCutCopyMode

XlDVAlertStyle

XlDVType

XlDataBarAxisPosition

XlDataBarBorderType

XlDataBarFillType

XlDataBarNegativeColorType

XlDataLabelPosition

XlDataLabelSeparator

XlDataLabelsType

XlDataSeriesDate

XlDataSeriesType

XlDeleteShiftDirection

XlDirection

XlDisplayBlanksAs

XlDisplayDrawingObjects

XlDisplayUnit

XlDupeUnique

XlDynamicFilterCriteria

XlEditionFormat

XlEditionOptionsOption

XlEditionType

XlEnableCancelKey

XlEnableSelection

XlEndStyleCap

XlErrorBarDirection

XlErrorBarInclude

XlErrorBarType

XlErrorChecks

XlFileAccess

XlFileFormat

XlFileValidationPivotMode

XlFillWith

XlFilterAction

XlFilterAllDatesInPeriod

XlFilterStatus

XlFindLookIn

XlFixedFormatQuality

XlFixedFormatType

XlFormControl

XlFormatConditionOperator

XlFormatConditionType

XlFormatFilterTypes

XlFormulaLabel

XlGenerateTableRefs

XlGradientFillType

XlHAlign

XlHebrewModes

XlHighlightChangesTime

XlHtmlType

XlIMEMode

XlIcon

XlIconSet

XlImportDataAs

XlInsertFormatOrigin

XlInsertShiftDirection

XlLayoutFormType

XlLayoutRowType

XlLegendPosition

XlLineStyle

XlLink

XlLinkInfo

XlLinkInfoType

XlLinkStatus

XlLinkType

XlListConflict

XlListDataType

XlListObjectSourceType

XlLocationInTable

XlLookAt

XlLookFor

XlMSApplication

XlMailSystem

XlMarkerStyle

XlMeasurementUnits

XlModelChangeSource

XlMouseButton

XlMousePointer

XlOLEType

XlOLEVerb

XlOartHorizontalOverflow

XlOartVerticalOverflow

XlObjectSize

XlOrder

XlOrientation

XlPTSelectionMode

XlPageBreak

XlPageBreakExtent

XlPageOrientation

XlPaperSize

XlParameterDataType

XlParameterType

XlPasteSpecialOperation

XlPasteType

XlPattern

XlPhoneticAlignment

XlPhoneticCharacterType

XlPictureAppearance

XlPictureConvertorType

XlPieSliceIndex

XlPieSliceLocation

XlPivotCellType

XlPivotConditionScope

XlPivotFieldCalculation

XlPivotFieldDataType

XlPivotFieldOrientation

XlPivotFieldRepeatLabels

XlPivotFilterType

XlPivotFormatType

XlPivotLineType

XlPivotTableMissingItems

XlPivotTableSourceType

XlPivotTableVersionList

XlPlacement

XlPlatform

XlPortugueseReform

XlPrintErrors

XlPrintLocation

XlPriority

XlPropertyDisplayedIn

XlProtectedViewCloseReason

XlProtectedViewWindowState

XlQueryType

XlQuickAnalysisMode

XlRangeAutoFormat

XlRangeValueDataType

XlReferenceStyle

XlReferenceType

XlRemoveDocInfoType

XlRgbColor

XlRobustConnect

XlRoutingSlipDelivery

XlRoutingSlipStatus

XlRowCol

XlRunAutoMacro

XlSaveAction

XlSaveAsAccessMode

XlSaveConflictResolution

XlScaleType

XlSearchDirection

XlSearchOrder

XlSearchWithin

XlSeriesNameLevel

XlSheetType

XlSheetVisibility

XlSizeRepresents

XlSlicerCacheType

XlSlicerCrossFilterType

XlSlicerSort

XlSmartTagControlType

XlSmartTagDisplayMode

XlSortDataOption

XlSortMethod

XlSortMethodOld

XlSortOn

XlSortOrder

XlSortOrientation

XlSortType

XlSourceType

XlSpanishModes

XlSparkScale

XlSparkType

XlSparklineRowCol

XlSpeakDirection

XlSpecialCellsValue

XlStdColorScale

XlSubscribeToFormat

XlSubtototalLocationType

XlSummaryColumn

XlSummaryReportType

XlSummaryRow

XlTabPosition

XlTableStyleElementType

XlTextParsingType

XlTextQualifier

XlTextVisualLayoutType

XlThemeColor

XlThemeFont

XlThreadMode

XlTickLabelOrientation

XlTickLabelPosition

XlTickMark

XlTimePeriods

XlTimeUnit

XlTimelineLevel

XlToolbarProtection

XlTopBottom

XlTotalsCalculation

XlTrendlineType

XlUnderlineStyle

XlUpdateLinks

XlVAlign

XlWBATemplate

XlWebFormatting

XlWebSelectionType

XlWindowState

XlWindowType

XlWindowView

XlXLMMacroType

XlXmlExportResult

XlXmlImportResult

XlXmlLoadOption

XlYesNoGuess


Member Function Documentation

void SetBackground (QVariant Background) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetBackground(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetBackground(QVariant)", params);

void SetBold (QVariant Bold) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetBold(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetBold(QVariant)", params);

void SetColor (QVariant Color) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetColor(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetColor(QVariant)", params);

void SetColorIndex (QVariant ColorIndex) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetColorIndex(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetColorIndex(QVariant)", params);

void SetFontStyle (QVariant FontStyle) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetFontStyle(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetFontStyle(QVariant)", params);

void SetItalic (QVariant Italic) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetItalic(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetItalic(QVariant)", params);

void SetName (QVariant Name) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetName(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetName(QVariant)", params);

void SetOutlineFont (QVariant OutlineFont) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetOutlineFont(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetOutlineFont(QVariant)", params);

void SetShadow (QVariant Shadow) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetShadow(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetShadow(QVariant)", params);

void SetSize (QVariant Size) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetSize(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetSize(QVariant)", params);

void SetStrikethrough (QVariant Strikethrough) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetStrikethrough(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetStrikethrough(QVariant)", params);

void SetSubscript (QVariant Subscript) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetSubscript(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetSubscript(QVariant)", params);

void SetSuperscript (QVariant Superscript) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetSuperscript(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetSuperscript(QVariant)", params);

void SetThemeColor (QVariant ThemeColor) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetThemeColor(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetThemeColor(QVariant)", params);

void SetThemeFont (XlThemeFont ThemeFont) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(XlThemeFont)), object, SLOT(SetThemeFont(XlThemeFont)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetThemeFont(XlThemeFont)", params);

void SetTintAndShade (QVariant TintAndShade) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetTintAndShade(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetTintAndShade(QVariant)", params);

void SetUnderline (QVariant Underline) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(SetUnderline(QVariant)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetUnderline(QVariant)", params);

void exception (int code, QString source, QString disc, QString help) [signal]

For more information, see help context 104001 in C:\Program Files\Microsoft Office 15\Root\Office15\VBAXL10.CHM.

Connect a slot to this signal:

	QObject::connect(object, SIGNAL(exception(int, QString, QString, QString)), receiver, SLOT(someSlot(int, QString, QString, QString)));

void propertyChanged (QString name) [signal]

For more information, see help context 104001 in C:\Program Files\Microsoft Office 15\Root\Office15\VBAXL10.CHM.

Connect a slot to this signal:

	QObject::connect(object, SIGNAL(propertyChanged(QString)), receiver, SLOT(someSlot(QString)));

void signal (QString name, int argc, void* argv) [signal]

For more information, see help context 104001 in C:\Program Files\Microsoft Office 15\Root\Office15\VBAXL10.CHM.

Connect a slot to this signal:

	QObject::connect(object, SIGNAL(signal(QString, int, void*)), receiver, SLOT(someSlot(QString, int, void*)));

Property Documentation

QString objectName

Read this property's value using QObject::property:

	QString val = object->property("objectName").toString();
Set this property' value using QObject::setProperty:
	QString newValue = ...
	object->setProperty("objectName", newValue);
Or using the setObjectName slot.

IDispatch* Application

Read this property's value using QObject::property:

	IDispatch* val = object->property("Application").toIDispatch*();

QVariant Background

Read this property's value using QObject::property:

	QVariant val = object->property("Background").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("Background", newValue);
Or using the SetBackground slot.

QVariant Bold

Read this property's value using QObject::property:

	QVariant val = object->property("Bold").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("Bold", newValue);
Or using the SetBold slot.

QVariant Color

Read this property's value using QObject::property:

	QVariant val = object->property("Color").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("Color", newValue);
Or using the SetColor slot.

QVariant ColorIndex

Read this property's value using QObject::property:

	QVariant val = object->property("ColorIndex").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("ColorIndex", newValue);
Or using the SetColorIndex slot.

XlCreator Creator

Read this property's value using QObject::property:

	int val = object->property("Creator").toInt();

See also XlCreator.

QVariant FontStyle

Read this property's value using QObject::property:

	QVariant val = object->property("FontStyle").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("FontStyle", newValue);
Or using the SetFontStyle slot.

QVariant Italic

Read this property's value using QObject::property:

	QVariant val = object->property("Italic").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("Italic", newValue);
Or using the SetItalic slot.

QVariant Name

Read this property's value using QObject::property:

	QVariant val = object->property("Name").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("Name", newValue);
Or using the SetName slot.

QVariant OutlineFont

Read this property's value using QObject::property:

	QVariant val = object->property("OutlineFont").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("OutlineFont", newValue);
Or using the SetOutlineFont slot.

IDispatch* Parent

Read this property's value using QObject::property:

	IDispatch* val = object->property("Parent").toIDispatch*();

QVariant Shadow

Read this property's value using QObject::property:

	QVariant val = object->property("Shadow").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("Shadow", newValue);
Or using the SetShadow slot.

QVariant Size

Read this property's value using QObject::property:

	QVariant val = object->property("Size").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("Size", newValue);
Or using the SetSize slot.

QVariant Strikethrough

Read this property's value using QObject::property:

	QVariant val = object->property("Strikethrough").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("Strikethrough", newValue);
Or using the SetStrikethrough slot.

QVariant Subscript

Read this property's value using QObject::property:

	QVariant val = object->property("Subscript").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("Subscript", newValue);
Or using the SetSubscript slot.

QVariant Superscript

Read this property's value using QObject::property:

	QVariant val = object->property("Superscript").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("Superscript", newValue);
Or using the SetSuperscript slot.

QVariant ThemeColor

Read this property's value using QObject::property:

	QVariant val = object->property("ThemeColor").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("ThemeColor", newValue);
Or using the SetThemeColor slot.

XlThemeFont ThemeFont

Read this property's value using QObject::property:

	int val = object->property("ThemeFont").toInt();
Set this property' value using QObject::setProperty:
	int newValue = ... // string representation of values also supported
	object->setProperty("ThemeFont", newValue);
Or using the SetThemeFont slot.

See also XlThemeFont.

QVariant TintAndShade

Read this property's value using QObject::property:

	QVariant val = object->property("TintAndShade").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("TintAndShade", newValue);
Or using the SetTintAndShade slot.

QVariant Underline

Read this property's value using QObject::property:

	QVariant val = object->property("Underline").toVariant();
Set this property' value using QObject::setProperty:
	QVariant newValue = ...
	object->setProperty("Underline", newValue);
Or using the SetUnderline slot.

QString control

Read this property's value using QObject::property:

	QString val = object->property("control").toString();
Set this property' value using QObject::setProperty:
	QString newValue = ...
	object->setProperty("control", newValue);
Or using the setControl slot.