Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
Excel 2007
What's New
 New Members and Constants

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
New Members and Constants

New Members

The following properties, methods, and events have been added to existing objects in Microsoft Office Excel 2007.

Application

PropertiesDescription
ShowDevToolsReturns or sets a Boolean that represents whether the Developer tab is displayed in the Ribbon. Read/write Boolean.
ShowMenuFloatiesReturns or sets a Boolean that represents whether to display Mini toolbars when the user right-clicks in the workbook window. Read/write Boolean.
ShowSelectionFloatiesReturns or sets a Boolean that represents whether Mini toolbars displays when a user selects text. Read/write Boolean.
WarnOnFunctionNameConflictThe WarnOnFunctionNameConflict property, when set to True, raises an alert if a developer tries to create a new function using an existing function name. Read/write Boolean.
LargeOperationCellThousandCountReturns or sets the maximum number of cells needed in an operation beyond which an alert is triggered. Read/write Long.
MeasurementUnitSpecifies the measurement unit used in the application. Read/write xlMeasurementUnit.
MultiThreadedCalculationReturns a MultiThreadedCalculation object that controls the multi-threaded recalculation settings that are new in Excel 2007. Read-only.
DeferAsyncQueriesGets or sets whether asychronous queries to OLAP data sources are executed when a worksheet is calculated by VBA code. Read/write Boolean.
DisplayDocumentInformationPanelReturns or sets a Boolean that represents whether the document properties panel is displayed. Read/write Boolean.
DisplayFormulaAutoCompleteGets or sets whether to show a list of relevant functions and defined names when building cell formulas. Read/write Boolean.
EnableLargeOperationAlertSets or returns a Boolean that represents whether to display an alert message when a user attempts to perform an operation that affects a larger number of cells than is specified in the Office center UI. Read/write Boolean.
EnableLivePreviewSets or returns a Boolean that represents whether to show or hide gallery previews that appear when using galleries that support previewing. Setting this property to True shows a preview of your workbook before applying the command. Read/write Boolean.
FileExportConvertersReturns a FileExportConverters collection that represents all the file converters for saving files available to Microsoft Office Excel. Read-only.
FormulaBarHeightAllows the user to specify the height of the formula bar in lines. Read/write Long.
GenerateTableRefsThe GenerateTableRefs property determines whether the traditional notation method or the new structured referencing notation method is used for referencing tables in formulas. Read/write.
ActiveEncryptionSessionRead-only
AlwaysUseClearTypeReturns or sets a Boolean that represents whether to use ClearType to display fonts in the menu, Ribbon, and dialog box text. Read/write Boolean.
AssistanceReturns an IAssistance object for Excel 2007 that represents the Microsoft Office Help Viewer. Read-only.
MethodsDescription
SharePointVersion 
CalculateUntilAsyncQueriesDoneRuns all pending queries to OLEDB and OLAP data sources.
EventsDescription
WorkbookRowsetCompleteThe WorkbookRowsetComplete event occurs when the user either drills through the recordset or invokes the rowset action on an OLAP PivotTable.
AfterCalculateThe AfterCalculate event occurs when all pending refresh activity (both synchronous and asynchronous) and all of the resultant calculation activities have been completed.

AutoCorrect

PropertiesDescription
AutoFillFormulasInListsAffects the creation of calculated columns created by automatic fill-down lists. Read/write Boolean.

AutoFilter

PropertiesDescription
SortGets the sort column or columns, and sort order for the AutoFilter collection.
FilterModeReturns True if the worksheet is in the AutoFilter filter mode. Read-only Boolean.
MethodsDescription
ShowAllDataDisplays all the data returned by the AutoFilter object.
ApplyFilterApplies the specified Autofilter object.

Axis

PropertiesDescription
LogBaseReturns or sets the base of the logarithm when you are using log scales. Read/write Double.
TickLabelSpacingIsAutoReturns or sets whether or not the tick label spacing is automatic. Read/write Boolean.
FormatReturns the ChartFormat object. Read-only.

AxisTitle

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.
IncludeInLayoutTrue if an axis title will occupy the chart layout space when a chart layout is being determined. The default value is True. Read/write Boolean.
PositionReturns or sets the position of the axis title on the chart. Read/write XlChartElementPosition.

Border

PropertiesDescription
ThemeColorReturns or sets the theme color in the applied color scheme that is associated with the specified object. Read/write Variant.
TintAndShadeReturns or sets a Single that lightens or darkens a color.

Borders

PropertiesDescription
ThemeColorReturns or sets the theme color in the applied color scheme that is associated with the specified object. Read/write Variant.
TintAndShadeReturns or sets a Single that lightens or darkens a color.

Chart

PropertiesDescription
ShowDataLabelsOverMaximumReturns or sets whether to show the data labels when the value is greater than the maximum value on the value axis. Read/write Boolean.
SideWallReturns a Walls object that allows the user to individually format the side wall of a 3-D chart. Read-only.
BackWallReturns a Walls object that allows the user to individually format the back wall of a 3-D chart. Read-only.
ChartStyleReturns or sets the chart style for the chart. Read/write Variant.
MethodsDescription
ApplyChartTemplateApplies a standard or custom chart type to a chart.
ApplyLayoutApplies the layouts shown in the ribbon.
ExportAsFixedFormatExports to a file of the specified format.
SaveChartTemplateSaves a custom chart template to the list of available chart templates.
SetDefaultChartSpecifies the name of the chart template that Microsoft Excel uses when creating new charts.
SetElementSets chart elements on a chart. Read/write MsoChartElementType.
ClearToMatchStyleClears the chart elements formatting to automatic.

ChartArea

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

ChartObjects

PropertiesDescription
ProtectChartObjectTrue if the embedded chart frame cannot be moved, resized, or deleted through the user interface. Read/write Boolean.

ChartTitle

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.
PositionReturns or sets the position of the chart title on the chart. Read/write XlChartElementPosition.
IncludeInLayoutTrue if a chart title will occupy the chart layout space when a chart layout is being determined. The default value is True. Read/write Boolean.

ColorFormat

PropertiesDescription
ObjectThemeColorReturns or sets a color that is mapped to the theme color scheme. Read/write MsoThemeColorIndex.

CubeField

PropertiesDescription
AllItemsVisible The AllItemsVisible property checks whether manual filtering is applied to a PivotField or CubeField. Read-only Boolean.
CubeFieldSubTypeSpecifies the type of a CubeField. Read-only.
CurrentPageNameReturns or sets the page name for a CubeField. Read/write String.
IncludeNewItemsInFilterThe IncludeNewItemsInFilter property is used to track included/excluded items in OLAP PivotTables. Read/write.
IsDateReturns True if the CubeField is a date. Read-only Boolean.
MethodsDescription
ClearManualFilterThe ClearManualFilter method provides an easy way to set the Visible property to True for all items of a PivotField in PivotTables, and to empty the HiddenItemsList/VisibleItemsList collections in OLAP PivotTables.
CreatePivotFields The CreatePivotFields method is new in Microsoft Office Excel 2007. It enables users to apply a filter to PivotFields not yet added to the PivotTable by creating the corresponding PivotField object.

DataLabel

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

DataLabels

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

DataTable

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

DisplayUnitLabel

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.
PositionReturns or sets the position of the unit label on an axis in the chart. Read/write XlChartElementPosition.

DownBars

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

DropLines

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

ErrorBars

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

ErrorCheckingOptions

PropertiesDescription
InconsistentTableFormulaReturns True if the table formula is inconsistent. Read/write Boolean.

FillFormat

PropertiesDescription
GradientStopsReturns the end point for the gradient fill. Read-only.
TextureOffsetXReturns the offset X value for the specified fill. Read/write Single.
TextureOffsetYReturns the offset Y value for the specified fill. Read/write Single.
TextureTileReturns the texture tile style for the specified fill. Read/write MsoTriState.
RotateWithObjectReturns or sets if the fill style should rotate with the object. Read/write MsoTriState.
TextureAlignmentReturns or sets the text alignment for the specified FillFormat object. Read/write.
TextureHorizontalScaleReturns or sets the value for horizontally scaling the text for the FillFormat object. Read/write Single.
TextureVerticalScaleReturns the texture vertical scale for the specified fill. Read/write Single.

Filter

PropertiesDescription
CountReturns the number of objects in the collection. Read-only Long.

Floor

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.
ThicknessReturns or sets a Long, specifying the thickness of the floor. Read/write.

Font

PropertiesDescription
ThemeColorReturns or sets the theme color in the applied color scheme that is associated with the specified object. Read/write Variant.
ThemeFontReturns or sets the theme font in the applied font scheme that is associated with the specified object. Read/write XlThemeFont.
TintAndShadeReturns or sets a Single that lightens or darkens a color.

FormatCondition

PropertiesDescription
NumberFormatReturns or sets the number format applied to a cell if the conditional formatting rule evaluates to True. Read/write Variant.
PriorityReturns or sets the priority value of the conditional formatting rule. The priority determines the order of evaluation when multiple conditional formatting rules exist in a worksheet.
PTConditionReturns a Boolean value indicating if the conditional format is being applied to a PivotTable chart. Read-only.
ScopeTypeReturns or sets one of the constants of the XlPivotConditionScope enumeration, which determines the scope of the conditional format when it is applied to a PivotTable chart.
StopIfTrueReturns or sets a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True.
TextReturns or sets a String value specifying the text string used by the conditional formatting rule.
TextOperatorReturns or sets one of the constants of the XlContainsOperator enumeration, specifying the text search performed by the conditional formatting rule.
AppliesToReturns a Range object specifying the cell range to which the formatting rule is applied.
DateOperatorSpecifies the Date operator used in the format condition. Read/write.
MethodsDescription
ModifyAppliesToRangeSets the cell range to which this formatting rule applies.
SetFirstPrioritySets the priority value for this conditional formatting rule to "1" so that it will be evaluated before all other rules on the worksheet.
SetLastPrioritySets the evaluation order for this conditional formatting rule so it is evaluated after all other rules on the worksheet.

FormatConditions

MethodsDescription
AddAboveAverageReturns a new AboveAverage object representing a conditional formatting rule for the specified range.
AddColorScaleReturns a new ColorScale object representing a conditional formatting rule that uses gradations in cell colors to indicate relative differences in the values of cells included in a selected range.
AddDatabarReturns a Databar object representing a data bar conditional formatting rule for the specified range.
AddIconSetConditionReturns a new IconSetCondition object which represents an icon set conditional formatting rule for the specified range.
AddTop10Returns a Top10 object representing a conditional formatting rule for the specified range.
AddUniqueValuesReturns a new UniqueValues object representing a conditional formatting rule for the specified range.

Gridlines

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

HiLoLines

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

Interior

PropertiesDescription
GradientReturns or sets the Gradient property of an Interior object of a selection. Read-only
PatternThemeColorReturns or sets a theme color pattern for an Interior object. Read/write Variant.
PatternTintAndShadeReturns or sets a tint and shade pattern for an Interior object. Read/write Variant.
ThemeColorReturns or sets the theme color in the applied color scheme that is associated with the specified object. Read/write Variant.
TintAndShadeReturns or sets a Single that lightens or darkens a color.

LeaderLines

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

Legend

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.
IncludeInLayoutTrue if a legend will occupy the chart layout space when a chart layout is being determined. The default value is True. Read/write Boolean.

LegendEntry

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

LegendKey

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.
PictureUnit2Returns or sets the unit for each picture on the chart if the PictureType property is set to xlStackScale (if not, this property is ignored). Read/write Double.

ListColumn

PropertiesDescription
DataBodyRangeReturns a Range object that is the size of the data portion of a column. Read-only.
TotalReturns the Total row for a ListColumn object. Read-only.

ListObject

PropertiesDescription
ShowHeadersReturns or sets if the header information should be displayed for the specified ListObject object. Read/write Boolean.
ShowTableStyleColumnStripesReturns or sets if the Column Stripes table style is used for the specified ListObject object. Read/write Boolean.
ShowTableStyleFirstColumnReturns or sets if the first column is displayed for the specified ListObject object. Read/write Boolean.
ShowTableStyleLastColumnReturns or sets if the last column is displayed for the specified ListObject object. Read/write Boolean.
ShowTableStyleRowStripesReturns or sets if the Row Stripes table style is used for the specified ListObject object. Read/write Boolean.
AutoFilterFilters a list using the AutoFilter. Read-only.
CommentReturns or sets the comment associated with the list object. Read/write String.
DisplayNameReturns or sets the display name for the specified ListObject object. Read/write String.
TableStyleGets or sets the table style for the specified ListObject object. Read/write Variant.
SortGets or sets the sort column or columns, and sort order for the ListObject collection.
MethodsDescription
ExportToVisioExports a ListObject object to Visio.

Name

PropertiesDescription
ValidWorkbookParameterReturns True if the specified Name object is a valid workbook parameter. Read-only Boolen.
CommentReturns or sets the comment associated with the name. Read/write String.
WorkbookParameter 

PageSetup

PropertiesDescription
AlignMarginsHeaderFooterReturns True for Excel to align the header and the footer with the margins set in the page setup options. Read/write Boolean.
ScaleWithDocHeaderFooterReturns or sets if the header and footer should be scaled with the document when the size of the document changes. Read/write Boolean.
DifferentFirstPageHeaderFooterTrue if a different header or footer is used on the first page. Read/write Boolean.
EvenPageReturns or sets the alignment of text on the even page of a workbook or section.
FirstPageReturns or sets the alignment of text on the first page of a workbook or section.
OddAndEvenPagesHeaderFooterTrue if the specified PageSetup object has different headers and footers for odd-numbered and even-numbered pages. Read/write Boolean.
PagesReturns or sets the the count or item number of the pages in Pages collection.

Pane

MethodsDescription
PointsToScreenPixelsXReturns or sets a pixel point on the screen.
PointsToScreenPixelsYReturns or sets the location of the pixel on the screen.

PivotCache

PropertiesDescription
UpgradeOnRefreshContains information on whether to upgrade the PivotCache and all connected PivotTables on the next refresh. Read/write Boolean.
VersionReturns the version of Microsoft Excel in which the PivotCache was created. Read-only.
WorkbookConnectionEstablishes a connection between the current workbook and the PivotCache object. Read-only.

PivotCaches

MethodsDescription
CreateCreates a new PivotCache.

PivotCell

PropertiesDescription
PivotColumnLineReturns the PivotLine on a column for a specific PivotCell object. Read-only PivotLine.
PivotRowLineReturns the PivotLine on a row for a specific PivotCell object. Read-only PivotLine.

PivotField

PropertiesDescription
AllItemsVisibleUsed to retrieve a Boolean value that indicates whether or not any manual filtering is applied to the PivotField. Read-only.
LayoutCompactRowSpecifies whether or not a PivotField is compacted (items of multiple PivotFields are displayed in a single column) when rows are selected. Read/write Boolean.
UseMemberPropertyAsCaptionThis property is used to control whether member property captions are used for PivotItem captions of the PivotField. Read/write Boolean.
AutoSortCustomSubtotalReturns the name of the custom subtotal used to sort the specified PivotTable field automatically. Read-only.
AutoSortPivotLineReturns the name of the PivotLine used to sort the specified PivotTable field automatically. Read-only.
DisplayAsCaptionThis property is used to display member properties of PivotFields as captions. Read-only.
DisplayAsTooltipThis property is used to specify whether or not a specific member property PivotField is displayed in tooltips. Read/write Boolean.
DisplayInReportThis property is used to specify whether the specified member property PivotField is displayed in the PivotTable or not. Read/write Boolean.
EnableMultiplePageItemsUsed for specifying whether or not check boxes are present in the filter drop-down list for fields in the page area. Read/write Boolean.
HiddenThis property is used to hide the individual levels of an OLAP hierarchy. Read/write Boolean.
IncludeNewItemsInFilterThis property allows developers to specify whether excluded or included items should be tracked when manual filtering is applied to the PivotField. Read/write Boolean.
MemberPropertyCaptionSetting the MemberPropertyCaption property controls which member property is used as caption for a given level. Read/write Boolean.
PivotFiltersReturns or sets the PivotFilters for the specified PivotField object. Read-only.
ShowDetailGets or sets whether the specified PivotField is showing detail. Read/write Boolean.
ShowingInAxisIndicates if the PivotField is currently visible in the PivotTable or not. Read-only.
SourceCaptionThe SourceCaption property is applicable only for OLAP PivotTables, and returns the original caption from the OLAP server for a PivotField. Read-only.
VisibleItemsListReturns or sets a Variant specifying an array of strings that represent included items in a manual filter applied to a PivotField. Read/write.
MethodsDescription
ClearAllFiltersCalling this method deletes all filters currently applied to the PivotField. This includes deleting all filters from the PivotFilters collection of the PivotField and removing any manual filtering applied to the PivotField as well. If the PivotField is in the Report Filter area, the item selected will be set to the default item.
ClearLabelFiltersThis method deletes all label filters or all date filters in the PivotFilters collection of the PivotField.
ClearManualFilterProvides an easy way to set the Visible property to True for all items of a PivotField in PivotTables, and to empty the HiddenItemsList and VisibleItemsList collections in OLAP PivotTables.
ClearValueFiltersCalling this method deletes all value filters in the PivotFilters collection of the PivotField.
DrillToThe DrillTo method supports drilling to a specified PivotField from another PivotField.

PivotItem

MethodsDescription
DrillToThe DrillTo method supports drilling to a specified PivotField from a PivotItem.

PivotTable

PropertiesDescription
ShowTableStyleRowStripesThe ShowTableStyleRowStripes property displays banded rows in which even rows are formatted differently from odd rows. This makes PivotTables easier to read. Read/write Boolean.
SortUsingCustomListsThe SortUsingCustomLists property controls whether custom lists are used for sorting items of fields, both initially when the PivotField is initialized and the PivotItems are ordered by their captions; and later when the user applies a sort. Read/write Boolean.
ShowDrillIndicatorsThe ShowDrillIndicators property is used for toggling the display of drill indicators in the PivotTable. Read/write Boolean.
ShowTableStyleColumnHeadersThe ShowTableStyleColumnHeaders property is set to True if the coulmn headers should be displayed in the PivotTable. Read/write Boolean.
ShowTableStyleColumnStripesThe ShowTableStyleColumnStripes property displays banded columns in which even columns are formatted differently from odd columns. This makes PivotTables easier to read. Read/write Boolean.
ShowTableStyleLastColumn 
ShowTableStyleRowHeadersThe ShowTableStyleRowHeaders property is set to True if the row headers should be displayed in the PivotTable. Read/write Boolean.
TableStyle2The TableStyle2 property specifies the PivotTable style currently applied to the PivotTable. Read/write.
ActiveFiltersIndicates the currently active filter in the specified PivotTable. Read-only.
AllowMultipleFiltersSets or retrieves a value that indicates whether a PivotField can have multiple filters applied to it at the same time. Read/write Boolean.
CompactLayoutColumnHeaderSpecifies the caption that is displayed in the column header of a PivotTable when in compact row layout form. Read/write String.
CompactLayoutRowHeaderSpecifies the caption that is displayed in the row header of a PivotTable when in compact row layout form. Read/write String.
CompactRowIndentReturns or sets the indent increment for PivotItems when compact row layout form is turned on. Read/write.
DisplayContextTooltipsControls whether or not tooltips are displayed for PivotTable cells. Read/write Boolean.
DisplayFieldCaptionsControls whether or not filter buttons and PivotField captions for rows and columns are displayed in the grid. Read/write.
DisplayMemberPropertyTooltipsControls whether or not to display member properties in tooltips. Read/write Boolean.
FieldListSortAscendingControls the sort order of fields in the PivotTable Field List. When this property is set to True, the fields are sorted in ascending order. When it is set to False, the fields are sorted in data source order. Read/write.
InGridDropZonesThis property is used to toggle in-grid drop zones for a PivotTable object. In some cases, it also affects the layout of the PivotTable. Read/write Boolean.
LayoutRowDefaultThis property specifies the layout settings for PivotFields when they are added to the PivotTable for the first time. Read/write xlLayoutRowType.
LocationGets or sets a String that represents the top-left cell in the body of the specified PivotTable. Read/write.
PivotColumnAxisReturns a PivotAxis object representing the entire column axis. Read-only PivotAxis.
PivotRowAxisReturns a PivotAxis object representing the entire row axis. Read-only PivotAxis.
PrintDrillIndicatorsSpecifies whether or not drill indicators are printed with the PivotTable. Read/write Boolean.
MethodsDescription
RowAxisLayoutThis method is used for simultaneously setting layout options for all existing PivotFields.
SubtotalLocationThis method changes the subtotal location for all existing PivotFields. Changing the subtotal location has an immediate visual effect only for fields in outline form, but it will be set for fields in tabular form as well.
ChangeConnectionChanges the connection of the specified PivotTable.
ChangePivotCacheChanges the PivotCache of the specified PivotTable.
ClearAllFiltersThe ClearAllFilters method deletes all filters currently applied to the PivotTable. This includes deleting all filters in the PivotFilters collection of the PivotTable object, removing any manual filtering applied and setting all PivotFields in the Report Filter area to the default item.
ClearTableThe ClearTable method is used for clearing a PivotTable. Clearing PivotTables includes removing all the fields and deleting all filtering and sorting applied to the PivotTables. This method resets the PivotTable to the state it had right after it was created, before any fields were added to it.
ConvertToFormulasThe ConvertToFormulas method is new in Microsoft Office Excel 2007 and is used for converting a PivotTable to cube formulas. Read/write Boolean.

PlotArea

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.
PositionReturns or sets the position of the plot area on the chart. Read/write XlChartElementPosition.

Point

PropertiesDescription
Has3DEffectTrue if a point has a three-dimensional appearance. Read/write Boolean.
PictureUnit2Returns or sets the unit for each picture on the chart if the PictureType property is set to xlStackScale (if not, this property is ignored). Read/write Double.
FormatReturns the ChartFormat object. Read-only.

QueryTable

PropertiesDescription
SortReturns the sort criteria for the query table range. Read-only.
WorkbookConnectionReturns the WorkbookConnection object that the query table uses. Read-only.

Range

PropertiesDescription
MDXReturns the MDX name for the specified Range object. Read-only String.
ServerActionsSpecifies the actions that can be performed on the SharePoint server for a Range object.
CountLargeCounts the largest value in a given range of values. Read-only Variant.
MethodsDescription
RemoveDuplicatesRemoves duplicate values from a range of values.
CalculateRowMajorOrderCalculates a specfied range of cells.
ExportAsFixedFormatExports to a file of the specified format.

Series

PropertiesDescription
PictureUnit2Returns or sets the unit for each picture on the chart if the PictureType property is set to xlStackScale (if not, this property is ignored). Read/write Double.
FormatReturns the ChartFormat object. Read-only.

SeriesLines

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

ShadowFormat

PropertiesDescription
BlurReturns or sets the degree of blurriness of the specified shadow. Read/write Single.
RotateWithShapeReturns or sets an MsoTriState that represents whether to rotate the shadow when rotating the shape. Read/write.
SizeReturns or sets the size of the specified shadow. Read/write Single.
StyleReturns or sets the style of the specified shadow. Read/write MsoShadowStyle.

Shape

PropertiesDescription
ChartReturns a Chart object that represents the chart contained in the shape. Read-only.
GlowReturns a GlowFormat object for a specified shape that contains glow formatting properties for the shape. Read-only.
HasChart Returns whether a shape contains a chart. Read-only MsoTriState.
ReflectionReturns a ReflectionFormat object for a specified shape that contains reflection formatting properties for the shape. Read-only.
ShapeStyleReturns or sets an MsoShapeStyleIndex that represents the shape style of shape range. Read/write.
SoftEdgeReturns a SoftEdgeFormat object for a specified shape that contains soft edge formatting properties for the shape. Read-only.
TextFrame2Returns a TextFrame2 object that contains text formatting for the specified shape. Read-only.
BackgroundStyleReturns or sets the background style. Read/write MsoBackgroundStyleIndex.

ShapeRange

PropertiesDescription
BackgroundStyleReturns or sets the background style. Read/write MsoBackgroundStyleIndex.
GlowReturns a GlowFormat object for a specified shape range that contains glow formatting properties for the shape range. Read-only.
ShapeStyleReturns or sets an MsoShapeStyleIndex that represents shape style of shape range. Read/write.
HasChart Returns whether a shape range contains a chart. Read-only MsoTriState.
ReflectionReturns a ReflectionFormat object for a specified shape range that contains reflection formatting properties for the shape range. Read-only.
TextFrame2Returns a TextFrame2 object that contains text formatting for the specified shape range. Read-only.
ChartReturns a Chart object that represents the chart contained in the shape range. Read-only.
SoftEdgeReturns a SoftEdgeFormat object for a specified shape range that contains soft edge formatting properties for the shape range. Read-only.

Shapes

MethodsDescription
AddChartCreates a chart at the specified location on the active sheet.

Tab

PropertiesDescription
ThemeColorReturns or sets the theme color in the applied color scheme that is associated with the specified object. Read/write XlThemeColor.
TintAndShadeReturns or sets a Single that lightens or darkens a color.

ThreeDFormat

PropertiesDescription
BevelBottomDepthReturns or sets the bottom depth when using the bevel effect on a ThreeDFormat object. Read/write Single.
BevelBottomInsetReturns or sets a value indicating whether the bottom insert bevel should be raised for a ThreeDFormat object. Read/write Single.
BevelBottomTypeReturns or sets the bottom bevel type for a ThreeDFormat object. Read/write MsoBevelType.
BevelTopDepthReturns or sets the top depth when using the bevel effect on a ThreeDFormat object. Read/write Single.
BevelTopInsetReturns or sets a value indicating whether the top insert bevel should be raised for a ThreeDFormat object. Read/write Single.
BevelTopTypeReturns or sets the top Bevel type for a ThreeDFormat object. Read/write MsoBevelType.
ContourColorReturns the contour color for a ThreeDFormat object. Read-only ColorFormat.
ContourWidthReturns or sets the contour width for a ThreeDFormat object. Read/write Single.
ProjectText Returns or sets the project text state for the specified ThreeDFormat object. Read/write MsoTriState.
FieldOfViewReturns or sets the angle at which a ThreeDFormat object can be viewed. Read/write Single.
LightAngleReturns or sets the angel of the extrusion lights set on a ThreeDFormat object. Read/write Single.
PresetCameraReturns or sets the extrusion preset camera for a ThreeDFormat object. Read-only MsoPresetCamera.
PresetLightingReturns or sets the extrusion preset lighting for a ThreeDFormat object. Read-only MsoLightRigType.
RotationZReturns or sets the rotation of the extruded shape around the z-axis in degrees. Read/write Single.
ZReturns the Z order of the specified ThreeDFormat object. Read/write Single.
MethodsDescription
IncrementRotationHorizontalChanges the rotation of the specified shape horizontally by the specified number of degrees.
IncrementRotationVerticalChanges the rotation of the specified shape vertically by the specified number of degrees.
IncrementRotationZChanges the rotation of the specified shape around the z-axis by the specified number of degrees.
SetPresetCameraSets the camera for the specified ThreeDFormat object.

TickLabels

PropertiesDescription
MultiLevelSets whether an axis is multilevel or not. Read/write Boolean.
FormatReturns the ChartFormat object. Read-only.

Trendline

PropertiesDescription
Backward2Returns or sets the number of periods (or units on a scatter chart) that the trendline extends backward. Read/write Double.
FormatReturns the ChartFormat object. Read-only.
Forward2Returns or sets the number of periods (or units on a scatter chart) that the trendline extends forward. Read/write Double.

UpBars

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.

Walls

PropertiesDescription
FormatReturns the ChartFormat object. Read-only.
ThicknessReturns or sets a Long specifying the thickness of the wall. Read/write.

Window

PropertiesDescription
ActiveSheetView Returns an object that represents the view of the active sheet in the specified window. Read-only.
AutoFilterDateGroupingTrue if the auto filter for date grouping is currently displayed in the specified window. Read/write Boolean.
DisplayRulerTrue if a ruler is displayed for the specified window. Read/write Boolean.
DisplayWhitespaceTrue if whitespace is displayed. Read/write Boolean.
SheetViewsReturns the SheetViews object for the specified window. Read-only.

Workbook

PropertiesDescription
ShowPivotChartActiveFieldsThis property controls the visibility of the PivotChart Filter Pane. Read/write Boolean.
SignaturesReturns the digital signatures for a workbook. Read-only.
TableStylesReturns a TableStyles collection object for the current workbook that refers to the styles used in the current workbook. Read-only.
ThemeReturns the theme applied to the current workbook. Read-only.
ResearchReturns a Research object that represents the research service for a workbook. Read-only.
ServerPolicyReturns a ServerPolicy object that represents a policy specified for a workbook stored on a server running Office SharePoint Server 2007. Read-only.
ServerViewableItemsAllows a developer to interact with the list of published objects in the workbook that are shown on the server. Read-only.
HasVBProjectReturns a Boolean that represents whether a workbook has an attached Microsoft Visual Basic for Applications project. Read-only Boolean.
IconSetsThis property is used to filter data in a workbook based on a cell icon from the IconSet collection. Read-only.
EncryptionProviderReturns a String specifying the name of the algorithm encryption provider that Microsoft Office Excel 2007 uses when encrypting documents. Read/write.
CheckCompatibilityControls whether or not the compatibility checker is run automatically when the workbook is saved. Read/write Boolean.
ConnectionsThe Connections property establishes a connection between the workbook and an ODBC or an OLEDB data source and refreshes the data without prompting the user. Read-only.
ConnectionsDisabled 
ContentTypePropertiesReturns a MetaProperties collection that describes the metadata stored in the workbook. Read-only.
CustomXMLPartsReturns a CustomXMLParts collection that represents the custom XML in the XML data store. Read-only.
DefaultPivotTableStyleSpecifies the table style from the TableStyles collection that is used as the default style for PivotTables. Read/write.
DefaultTableStyleSpecifies the table style from the TableStyles collection that is used as the default TableStyle. Read/write Variant.
DocumentInspectorsReturns a DocumentInspectors collection that represents the Document Inspector modules for the specified workbook. Read-only.
DoNotPromptForConvertReturns or sets if the user should be prompted to convert the workbook if the workbook contains features that are not supported by versions of Excel earlier than Excel 2007. Read/write Boolean.
Excel8CompatibilityModeThe Excel8CompatibilityMode property provides developers with a way to check if the workbook is in compatibility mode. Read-only Boolean.
FinalReturns or sets a Boolean that indicates whether a workbook is final. Read/write Boolean.
ForceFullCalculationForces something. Read/write.
MethodsDescription
RemoveDocumentInformationRemoves all information of the specified type from the workbook.
LockServerFileLocks the workbook on the server to prevent modification.
ApplyThemeApplies the specified theme to the current workbook.
EnableConnectionsThe EnableConnections method allows developers to programmatically enable data connections within the workbook for the user.
ExportAsFixedFormatThe ExportAsFixedFormat method is used to publish a workbook to either the PDF or XPS format.
GetWorkflowTasksReturns the collection of WorkflowTask objects for the specified workbook.
GetWorkflowTemplatesReturns the collection of WorkflowTemplate objects for the specified workbook.
EventsDescription
RowsetCompleteThe event is raised when the user either drills through the recordset or invokes the rowset action on an OLAP PivotTable.

Worksheet

PropertiesDescription
SortReturns the sorted values in the current worksheet. Read-only.
EnableFormatConditionsCalculationReturms or sets if conditional formats will will occur automatically as needed. Read/write Boolean.
MethodsDescription
ExportAsFixedFormatExports to a file of the specified format.

WorksheetFunction

MethodsDescription
Oct2HexConverts an octal number to hexadecimal.
OddFYieldReturns the yield of a security that has an odd (short or long) first period.
DollarDeConverts a dollar price expressed as a fraction into a dollar price expressed as a decimal number. Use DOLLARDE to convert fractional dollar numbers, such as securities prices, to decimal numbers.
DollarFrConverts a dollar price expressed as a decimal number into a dollar price expressed as a fraction. Use DOLLARFR to convert decimal numbers to fractional dollar numbers, such as securities prices.
BesselKReturns the modified Bessel function, which is equivalent to the Bessel functions evaluated for purely imaginary arguments.
BesselYReturns the Bessel function, which is also called the Weber function or the Neumann function.
DurationReturns the Macauley duration for an assumed par value of $100. Duration is defined as the weighted average of the present value of the cash flows and is used as a measure of a bond price's response to changes in yield.
Oct2BinConverts an octal number to binary.
Oct2DecConverts an octal number to decimal.
WeekNumReturns a number that indicates where the week falls numerically within a year.
WorkDayReturns a number that represents a date that is the indicated number of working days before or after a date (the starting date). Working days exclude weekends and any dates identified as holidays. Use WORKDAY to exclude weekends or holidays when you calculate invoice due dates, expected delivery times, or the number of days of work performed.
XirrReturns the internal rate of return for a schedule of cash flows that is not necessarily periodic. To calculate the internal rate of return for a series of periodic cash flows, use the IRR function.
XnpvReturns the net present value for a schedule of cash flows that is not necessarily periodic. Read/write Double.
YearFracCalculates the fraction of the year represented by the number of whole days between two dates (the start_date and the end_date). Use the YEARFRAC worksheet function to identify the proportion of a whole year's benefits or obligations to assign to a specific term.
YieldDiscReturns the annual yield for a discounted security.
YieldMatReturns the annual yield of a security that pays interest at maturity.
ReceivedReturns the amount received at maturity for a fully invested security.
SeriesSumReturns the sum of a power series based on the formula:Equation
SqrtPiReturns the square root of (number * pi).
SumIfsAdds the cells in a range that meet multiple criteria.
TBillEqReturns the bond-equivalent yield for a Treasury bill.
TBillPriceReturns the price per $100 face value for a Treasury bill.
TBillYieldReturns the yield for a Treasury bill.
MultiNomialReturns the ratio of the factorial of a sum of values to the product of factorials.
NetworkDaysReturns the number of whole working days between start_date and end_date. Working days exclude weekends and any dates identified in holidays. Use NETWORKDAYS to calculate employee benefits that accrue based on the number of days worked during a specific term.
NominalReturns the nominal annual interest rate, given the effective rate and the number of compounding periods per year.
MRoundReturns a number rounded to the desired multiple.
OddLPriceReturns the price per $100 face value of a security having an odd (short or long) last coupon period.
OddLYieldReturns the yield of a security that has an odd (short or long) last period.
PriceReturns the price per $100 face value of a security that pays periodic interest.
PriceDiscReturns the price per $100 face value of a discounted security.
PriceMatReturns the price per $100 face value of a security that pays interest at maturity.
QuotientReturns the integer portion of a division. Use this function when you want to discard the remainder of a division.
RandBetweenReturns a random integer number between the numbers you specify. A new random integer number is returned every time the worksheet is calculated.
Hex2BinConverts a hexadecimal number to binary.
Hex2DecConverts a hexadecimal number to decimal.
ImProductReturns the product of 2 to 29 complex numbers in x + yi or x + yj text format.
ImRealReturns the real coefficient of a complex number in x + yi or x + yj text format.
ImSinReturns the sine of a complex number in x + yi or x + yj text format.
ImSqrtReturns the square root of a complex number in x + yi or x + yj text format.
ImSubReturns the difference of two complex numbers in x + yi or x + yj text format.
ImSumReturns the sum of two or more complex numbers in x + yi or x + yj text format.
IntRateReturns the interest rate for a fully invested security.
IsEvenChecks the type of value and returns TRUE or FALSE depending if the value is even.
IsOddChecks the type of value and returns TRUE or FALSE depending if the value is odd.
LcmReturns the least common multiple of integers. The least common multiple is the smallest positive integer that is a multiple of all integer arguments number1, number2, and so on. Use LCM to add fractions with different denominators.
Dec2BinConverts a decimal number to binary.
Dec2HexConverts a decimal number to hexadecimal.
Dec2OctConverts a decimal number to octal.
DeltaTests whether two values are equal. Returns 1 if number1 = number2; returns 0 otherwise.
EDateReturns the serial number that represents the date that is the indicated number of months before or after a specified date (the start_date). Use EDATE to calculate maturity dates or due dates that fall on the same day of the month as the date of issue.
EffectReturns the effective annual interest rate, given the nominal annual interest rate and the number of compounding periods per year.
EoMonthReturns the serial number for the last day of the month that is the indicated number of months before or after start_date. Use EOMONTH to calculate maturity dates or due dates that fall on the last day of the month.
FactDoubleReturns the double factorial of a number.
FVScheduleReturns the future value of an initial principal after applying a series of compound interest rates. Use FVSCHEDULE to calculate the future value of an investment with a variable or adjustable rate.
GcdReturns the greatest common divisor of two or more integers. The greatest common divisor is the largest integer that divides both number1 and number2 without a remainder.
GeStepReturns 1 if number ≥ step; returns 0 (zero) otherwise. Use this function to filter a set of values. For example, by summing several GESTEP functions you calculate the count of values that exceed a threshold.
Hex2OctConverts a hexadecimal number to octal.
IfErrorReturns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula. Use the IFERROR function to trap and handle errors in a formula.
ImAbsReturns the absolute value (modulus) of a complex number in x + yi or x + yj text format.
ImaginaryReturns the imaginary coefficient of a complex number in x + yi or x + yj text format.
ImArgumentReturns the argument Theta (theta), an angle expressed in radians, such that: Equation
ImConjugateReturns the complex conjugate of a complex number in x + yi or x + yj text format.
ImCosReturns the cosine of a complex number in x + yi or x + yj text format.
ImDivReturns the quotient of two complex numbers in x + yi or x + yj text format.
ImExpReturns the exponential of a complex number in x + yi or x + yj text format.
ImLnReturns the natural logarithm of a complex number in x + yi or x + yj text format.
ImLog10Returns the common logarithm (base 10) of a complex number in x + yi or x + yj text format.
ImLog2Returns the base-2 logarithm of a complex number in x + yi or x + yj text format.
ImPowerReturns a complex number in x + yi or x + yj text format raised to a power.
MDurationReturns the modified Macauley duration for a security with an assumed par value of $100.
OddFPriceReturns the price per $100 face value of a security having an odd (short or long) first period.
AccrIntReturns the accrued interest for a security that pays periodic interest.
ConvertConverts a number from one measurement system to another. For example, Convert can translate a table of distances in miles to a table of distances in kilometers.
DiscReturns the discount rate for a security.
AverageIfReturns the average (arithmetic mean) of all the cells in a range that meet a given criteria.
Bin2DecConverts a binary number to decimal.
Bin2HexConverts a binary number to hexadecimal.
Bin2OctConverts a binary number to octal.
ComplexConverts real and imaginary coefficients into a complex number of the form x + yi or x + yj.
CountIfsCounts the number of cells within a range that meet multiple criteria.
CoupDayBsReturns the number of days from the beginning of the coupon period to the settlement date.
CoupDaysReturns the number of days in the coupon period that contains the settlement date.
CoupDaysNcReturns the number of days from the settlement date to the next coupon date.
CoupNcdReturns a number that represents the next coupon date after the settlement date.
CoupNumReturns the number of coupons payable between the settlement date and maturity date, rounded up to the nearest whole coupon.
CoupPcd 
CumIPmtReturns the cumulative interest paid on a loan between start_period and end_period.
CumPrincReturns the cumulative principal paid on a loan between start_period and end_period.
AmorDegrcReturns the depreciation for each accounting period. This function is provided for the French accounting system.
AmorLincReturns the depreciation for each accounting period. This function is provided for the French accounting system.
AverageIfsReturns the average (arithmetic mean) of all cells that meet multiple criteria.
BesselIReturns the modified Bessel function, which is equivalent to the Bessel function evaluated for purely imaginary arguments.
BesselJReturns the Bessel function.
AccrIntMReturns the accrued interest for a security that pays interest at maturity.
ErfReturns the error function integrated between lower_limit and upper_limit.
ErfCReturns the complementary ERF function integrated between the specified parameter and infinity.

XmlMap

PropertiesDescription
WorkbookConnectionRetuns a new connection for the specified XMLMap object. Read-only.

New Constants

The following constants have been added to existing enumerations in Microsoft Office Excel 2007.

EnumerationNew Constants
XlAutoFilterOperator
xlFilterAutomaticFontColor
xlFilterCellColor
xlFilterDynamic
xlFilterFontColor
xlFilterIcon
xlFilterNoFill
xlFilterNoIcon
xlFilterValues
XlBuiltInDialog
xlDialogDocumentInspector
xlDialogNameManager
xlDialogNewName
XlClipboardFormat
xlClipboardFormatBIFF12
XlErrorChecks
xlInconsistentListFormula
XlFileFormat
xlAddIn8
xlExcel12
xlExcel8
xlOpenXMLAddIn
xlOpenXMLTemplate
xlOpenXMLTemplateMacroEnabled
xlOpenXMLWorkbook
xlOpenXMLWorkbookMacroEnabled
xlTemplate8
xlWorkbookDefault
XlFormatConditionType
xlAboveAverageCondition
xlBlanksCondition
xlColorScale
xlDatabar
xlErrorsCondition
xlIconSets
xlNoBlanksCondition
xlNoErrorsCondition
xlTextString
xlTimePeriod
xlTop10
xlUniqueValues
XlImportDataAs
xlTable
XlLegendPosition
xlLegendPositionCustom
XlListObjectSourceType
xlSrcQuery
XlPasteType
xlPasteAllUsingSourceTheme
XlPattern
xlPatternLinearGradient
xlPatternRectangularGradient
XlPivotTableMissingItems
xlMissingItemsMax2
XlPivotTableVersionList
xlPivotTableVersion11
xlPivotTableVersion12
XlTotalsCalculation
xlTotalsCalculationCustom
XlWindowView
xlPageLayoutView


Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Slight issue with CountLarge under Range Object      Nick Hodge   |   Edit   |   Show History

The description under the Range Object of CountLarge is a little misleading. CountLarge is a variant were Count was a long. With the new Grid size in Excel 2007 there are 17179869184 cells. This causes an overflow when using a Long data type. To overcome this you use CountLarge. e.g

Cells.CountLarge

ActiveSheet.UsedRange.Countlarge

Of course, if you are coding for versions before 2007 AND 2007 you will need to test the Application.Version first and use .Count in versions before 12. Equally, you can be sure to use .Count if the workbook in 2007 is open in Compatibility Mode as the grid in this mode is restricted to the old 65536x256. To test use the Excel8CompatibiltyMode property of the Workbook object. (Strange name?)

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker