AboveAverage Object
Action Object
Actions Object
AddIn Object
AddIns Object
AddIns2 Object
Adjustments Object
AllowEditRange Object
AllowEditRanges Object
Application Object
Areas Object
AutoCorrect Object
AutoFilter Object
AutoRecover Object
Axes Object
Axis Object
AxisTitle Object
Border Object
Borders Object
CalculatedFields Object
CalculatedItems Object
CalculatedMember Object
CalculatedMembers Object
CalloutFormat Object
CategoryCollection Object
CellFormat Object
Characters Object
Chart Object
ChartArea Object
ChartCategory Object
ChartFormat Object
ChartGroup Object
ChartGroups Object
ChartObject Object
ChartObjects Object
Charts Object
ChartTitle Object
ChartView Object
ColorFormat Object
ColorScale Object
ColorScaleCriteria Object
ColorScaleCriterion Object
ColorStop Object
ColorStops Object
Comment Object
Comments Object
ConditionValue Object
Connections Object
ConnectorFormat Object
ControlFormat Object
CubeField Object
CubeFields Object
CustomProperties Object
CustomProperty Object
CustomView Object
CustomViews Object
Databar Object
DataBarBorder Object
DataFeedConnection Object
DataLabel Object
DataLabels Object
DataTable Object
DefaultWebOptions Object
Dialog Object
Dialogs Object
DialogSheetView Object
DisplayFormat Object
DisplayUnitLabel Object
DownBars Object
DropLines Object
Error Object
ErrorBars Object
ErrorCheckingOptions Object
Errors Object
FileExportConverter Object
FileExportConverters Object
FillFormat Object
Filter Object
Filters Object
Floor Object
Font Object
FormatColor Object
FormatCondition Object
FormatConditions Object
FreeformBuilder Object
FullSeriesCollection Object
Graphic Object
Gridlines Object
GroupShapes Object
HeaderFooter Object
HiLoLines Object
HPageBreak Object
HPageBreaks Object
Hyperlink Object
Hyperlinks Object
Icon Object
IconCriteria Object
IconCriterion Object
IconSet Object
IconSetCondition Object
IconSets Object
Interior Object
IRtdServer Object
IRTDUpdateEvent Object
LeaderLines Object
Legend Object
LegendEntries Object
LegendEntry Object
LegendKey Object
LinearGradient Object
LineFormat Object
LinkFormat Object
ListColumn Object
ListColumns Object
ListDataFormat Object
ListObject Object
ListObjects Object
ListRow Object
ListRows Object
Mailer Object
ModelChanges Object
ModelColumnChange Object
ModelColumnChanges Object
ModelColumnName Object
ModelColumnNames Object
ModelConnection Object
ModelFormatBoolean Object
ModelMeasureName Object
ModelFormatCurrency Object
ModelMeasureNames Object
ModelFormatDate Object
ModelRelationship Object
ModelFormatDecimalNumber Object
ModelRelationships Object
ModelFormatGeneral Object
ModelTable Object
ModelTableColumn Object
ModelFormatPercentageNumber Object
ModelTableColumns Object
ModelFormatScientificNumber Object
ModelTableNameChange Object
ModelFormatWholeNumber Object
ModelMeasure Object
ModelTableNameChanges Object
ModelTableNames Object
ModelTables Object
ModelMeasures Object
ModuleView Object
MultiThreadedCalculation Object
Name Object
Names Object
NegativeBarFormat Object
ODBCConnection Object
ODBCError Object
ODBCErrors Object
OLEDBConnection Object
OLEDBError Object
OLEDBErrors Object
OLEFormat Object
OLEObject Object
OLEObjects Object
Outline Object
Page Object
Pages Object
PageSetup Object
Pane Object
Panes Object
Parameter Object
Parameters Object
Phonetic Object
Phonetics Object
PictureFormat Object
PivotAxis Object
PivotCache Object
PivotCaches Object
PivotCell Object
PivotField Object
PivotFields Object
PivotFilter Object
PivotFilters Object
PivotFormula Object
PivotFormulas Object
PivotItem Object
PivotItemList Object
PivotItems Object
PivotLayout Object
PivotLine Object
PivotLineCells Object
PivotLines Object
PivotTable Object
PivotTableChangeList Object
PivotTables Object
PivotValueCell Object
PlotArea Object
Point Object
Points Object
ProtectedViewWindow Object
ProtectedViewWindows Object
Protection Object
PublishObject Object
PublishObjects Object
Queries Object
QueryTable Object
QueryTables Object
QuickAnalysis Object
Range Object
Ranges Object
RecentFile Object
RecentFiles Object
RectangularGradient Object
Research Object
RoutingSlip Object
RTD Object
Scenario Object
Scenarios Object
Series Object
SeriesCollection Object
SeriesLines Object
ServerViewableItems Object
ShadowFormat Object
Shape Object
ShapeNode Object
ShapeNodes Object
ShapeRange Object
Shapes Object
Sheets Object
SheetViews Object
Slicer Object
SlicerCache Object
SlicerCacheLevel Object
SlicerCacheLevels Object
SlicerCaches Object
SlicerItem Object
SlicerItems Object
SlicerPivotTables Object
Slicers Object
Sort Object
SortField Object
SortFields Object
SparkAxes Object
SparkColor Object
SparkHorizontalAxis Object
Sparkline Object
SparklineGroup Object
SparklineGroups Object
SparkPoints Object
SparkVerticalAxis Object
Speech Object
SpellingOptions Object
Style Object
Styles Object
Tab Object
TableObject Object
TableStyle Object
TableStyleElement Object
TableStyleElements Object
TableStyles Object
TextConnection Object
TextEffectFormat Object
TextFrame Object
TextFrame2 Object
ThreeDFormat Object
TickLabels Object
TimelineState Object
TimelineViewState Object
Top10 Object
TreeviewControl Object
Trendline Object
Trendlines Object
UniqueValues Object
UpBars Object
UsedObjects Object
UserAccess Object
UserAccessList Object
Validation Object
ValueChange Object
VPageBreak Object
VPageBreaks Object
Walls Object
Watch Object
Watches Object
WebOptions Object
Window Object
Windows Object
Workbook Object
WorkbookConnection Object
Workbooks Object
Worksheet Object
WorksheetDataConnection Object
WorksheetFunction Object
Worksheets Object
WorksheetView Object
XmlDataBinding Object
XmlMap Object
XmlMaps Object
XmlNamespace Object
XmlNamespaces Object
XmlSchema Object
WorkbookQuery Object
XmlSchemas Object
XPath Object
Enumerations
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Remarks
Use the Add method or the Item property of the AllowEditRanges collection to return an AllowEditRange
object.
Once an AllowEditRange object has been returned, you can use the ChangePassword method to change the
password to access a range that can be edited on a protected worksheet.
Example
In this example, Microsoft Excel allows edits to range "A1:A4" on the active worksheet, notifies the user, then
changes the password for this specified range and notifies the user of this change.
VBA
Sub UseChangePassword()
wksOne.Protection.AllowEditRanges(1).ChangePassword _
Password:=wksPassword
End Sub
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Remarks
Use the Add method or the Item property of the AllowEditRanges collection to return an AllowEditRange
object.
Once an AllowEditRange object has been returned, you can use the ChangePassword method to change the
password to access a range that can be edited on a protected worksheet.
Example
In this example, Microsoft Excel allows edits to range "A1:A4" on the active worksheet, notifies the user, then
changes the password for this specified range and notifies the user of this change.
VBA
Sub UseChangePassword()
wksOne.Protection.AllowEditRanges(1).ChangePassword _
Password:=wksPassword
End Sub
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .Delete
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Returns a Range object that represents a subset of the ranges that can be edited edited on a protected worksheet.
Syntax
expression .Range
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Returns or sets the title of the range of cells that can edited on a protected sheet. Read/write String.
Syntax
expression .Title
Other Versions
Contribute to this content
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Removes protection from a sheet or workbook. This method has no effect if the sheet or workbook isn't
protected.
Syntax
expression .Unprotect(Password)
Parameters
Data
Name Required/Optional Description
Type
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .Users
expression A variable that represents an AllowEditRange object.
Example
In this example, Microsoft Excel displays the name of the first user allowed access to the first protected range
on the active worksheet. This example assumes that a range has been chosen to be protected and that a
particular user has been given access to this range.
VBA
Sub DisplayUserName()
End Sub
AllowEditRanges.Add Method (Excel)
Other Versions
Contribute to this content
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Adds a range that can be edited on a protected worksheet. Returns a AllowEditRange object.
Syntax
Parameters
Name Required/Optional Data Type Description
Return Value
An AllowEditRange object that represents the range.
Example
This example allows edits to range "A1:A4" on the active worksheet, notifies the user, then changes the
password for this specified range and notifies the user of this change.
VBA
Sub UseChangePassword()
End Sub
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Returns a Long value that represents the number of objects in the collection.
Syntax
expression .Count
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .Item(Index)
Parameters
Name Required/Optional Data Type Description
Example
This example allows edits to range ("A1:A4") on the active worksheet, notifies the user, then changes the
password for this specified range and notifies the user of this change.
VBA
Sub UseChangePassword()
End Sub
Application Object (Excel)
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Use the Application property to return the Application object. The following example applies the Windows
property to the Application object.
VBA
Application.Windows("book1.xls").Activate
The following example creates a Microsoft Excel workbook object in another application and then opens a
workbook in Microsoft Excel.
VBA
Set xl = CreateObject("Excel.Sheet")
xl.Application.Workbooks.Open "newbook.xls"
Many of the properties and methods that return the most common user-interface objects, such as the active cell
(ActiveCell property), can be used without the Application object qualifier. For example, instead of writing
VBA
Application.ActiveCell.Font.Bold = True
You can write
VBA
ActiveCell.Font.Bold = True
Remarks
Methods that return top-level objects, such as ActiveCell, ActiveSheet, and so on.
Events
Name
AfterCalculate
NewWorkbook
ProtectedViewWindowActivate
ProtectedViewWindowBeforeClose
ProtectedViewWindowBeforeEdit
ProtectedViewWindowDeactivate
ProtectedViewWindowOpen
ProtectedViewWindowResize
SheetActivate
SheetBeforeDelete
SheetBeforeDoubleClick
SheetBeforeRightClick
SheetCalculate
SheetChange
SheetDeactivate
SheetFollowHyperlink
SheetLensGalleryRenderComplete
SheetPivotTableAfterValueChange
SheetPivotTableBeforeAllocateChanges
SheetPivotTableBeforeCommitChanges
SheetPivotTableBeforeDiscardChanges
SheetPivotTableUpdate
SheetSelectionChange
SheetTableUpdate
WindowActivate
WindowDeactivate
WindowResize
WorkbookActivate
WorkbookAddinInstall
WorkbookAddinUninstall
WorkbookAfterSave
WorkbookAfterXmlExport
WorkbookAfterXmlImport
WorkbookBeforeClose
WorkbookBeforePrint
WorkbookBeforeSave
WorkbookBeforeXmlExport
WorkbookBeforeXmlImport
WorkbookDeactivate
WorkbookModelChange
WorkbookNewChart
WorkbookNewSheet
WorkbookOpen
WorkbookPivotTableCloseConnection
WorkbookPivotTableOpenConnection
WorkbookRowsetComplete
WorkbookSync
Methods
Name
ActivateMicrosoftApp
AddCustomList
Calculate
CalculateFull
CalculateFullRebuild
CalculateUntilAsyncQueriesDone
CentimetersToPoints
CheckAbort
CheckSpelling
ConvertFormula
DDEExecute
DDEInitiate
DDEPoke
DDERequest
DDETerminate
DeleteCustomList
DisplayXMLSourcePane
DoubleClick
Evaluate
ExecuteExcel4Macro
FindFile
GetCustomListContents
GetCustomListNum
GetOpenFilename
GetPhonetic
GetSaveAsFilename
Goto
Help
InchesToPoints
InputBox
Intersect
MacroOptions
MailLogoff
MailLogon
NextLetter
OnKey
OnRepeat
OnTime
OnUndo
Quit
RecordMacro
RegisterXLL
Repeat
Run
SendKeys
SharePointVersion
Undo
Union
Volatile
Wait
Properties
Name
ActiveCell
ActiveChart
ActiveEncryptionSession
ActivePrinter
ActiveProtectedViewWindow
ActiveSheet
ActiveWindow
ActiveWorkbook
AddIns
AddIns2
AlertBeforeOverwriting
AltStartupPath
AlwaysUseClearType
Application
ArbitraryXMLSupportAvailable
AskToUpdateLinks
Assistance
AutoCorrect
AutoFormatAsYouTypeReplaceHyperlinks
AutomationSecurity
AutoPercentEntry
AutoRecover
Build
CalculateBeforeSave
Calculation
CalculationInterruptKey
CalculationState
CalculationVersion
Caller
CanPlaySounds
CanRecordSounds
Caption
CellDragAndDrop
Cells
ChartDataPointTrack
Charts
ClipboardFormats
ClusterConnector
Columns
COMAddIns
CommandBars
CommandUnderlines
ConstrainNumeric
ControlCharacters
CopyObjectsWithCells
Creator
Cursor
CursorMovement
CustomListCount
CutCopyMode
DataEntryMode
DDEAppReturnCode
DecimalSeparator
DefaultFilePath
DefaultSaveFormat
DefaultSheetDirection
DefaultWebOptions
DeferAsyncQueries
Dialogs
DisplayAlerts
DisplayClipboardWindow
DisplayCommentIndicator
DisplayDocumentActionTaskPane
DisplayDocumentInformationPanel
DisplayExcel4Menus
DisplayFormulaAutoComplete
DisplayFormulaBar
DisplayFullScreen
DisplayFunctionToolTips
DisplayInsertOptions
DisplayNoteIndicator
DisplayPasteOptions
DisplayRecentFiles
DisplayScrollBars
DisplayStatusBar
EditDirectlyInCell
EnableAutoComplete
EnableCancelKey
EnableCheckFileExtensions
EnableEvents
EnableLargeOperationAlert
EnableLivePreview
EnableMacroAnimations
EnableSound
ErrorCheckingOptions
Excel4IntlMacroSheets
Excel4MacroSheets
ExtendList
FeatureInstall
FileConverters
FileDialog
FileExportConverters
FileValidation
FileValidationPivot
FindFormat
FixedDecimal
FixedDecimalPlaces
FlashFill
FlashFillMode
FormulaBarHeight
GenerateGetPivotData
GenerateTableRefs
Height
HighQualityModeForGraphics
Hinstance
HinstancePtr
Hwnd
IgnoreRemoteRequests
Interactive
International
IsSandboxed
Iteration
LanguageSettings
LargeOperationCellThousandCount
Left
LibraryPath
MailSession
MailSystem
MapPaperSize
MathCoprocessorAvailable
MaxChange
MaxIterations
MeasurementUnit
MergeInstances
MouseAvailable
MoveAfterReturn
MoveAfterReturnDirection
MultiThreadedCalculation
Name
Names
NetworkTemplatesPath
NewWorkbook
ODBCErrors
ODBCTimeout
OLEDBErrors
OnWindow
OperatingSystem
OrganizationName
Parent
Path
PathSeparator
PivotTableSelection
PreviousSelections
PrintCommunication
ProductCode
PromptForSummaryInfo
ProtectedViewWindows
QuickAnalysis
Range
Ready
RecentFiles
RecordRelative
ReferenceStyle
RegisteredFunctions
ReplaceFormat
RollZoom
Rows
RTD
ScreenUpdating
Selection
Sheets
SheetsInNewWorkbook
ShowChartTipNames
ShowChartTipValues
ShowDevTools
ShowMenuFloaties
ShowQuickAnalysis
ShowSelectionFloaties
ShowStartupDialog
ShowToolTips
SmartArtColors
SmartArtLayouts
SmartArtQuickStyles
Speech
SpellingOptions
StandardFont
StandardFontSize
StartupPath
StatusBar
TemplatesPath
ThisCell
ThisWorkbook
ThousandsSeparator
Top
TransitionMenuKey
TransitionMenuKeyAction
TransitionNavigKeys
UsableHeight
UsableWidth
UseClusterConnector
UsedObjects
UserControl
UserLibraryPath
UserName
UseSystemSeparators
Value
VBE
Version
Visible
WarnOnFunctionNameConflict
Watches
Width
Windows
WindowsForPens
WindowState
Workbooks
WorksheetFunction
Worksheets
EnableAnimations
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
The AfterCalculate event occurs when all pending refresh activity (both synchronous and asynchronous) and
all of the resultant calculation activities have been completed.
Syntax
expression .AfterCalculate
Remarks
This event occurs whenever calculation is completed and there are no outstanding queries. It is mandatory for
both conditions to be met before the event occurs. The event can be raised even when there is no sheet data in
the workbook, such as whenever calculation finishes for the entire workbook and there are no queries running.
Add-in developers use the AfterCalculate event to know when all the data in the workbook has been fully
updated by any queries and/or calculations that may have been in progress.
This event occurs after all Worksheet.Calculate, Chart.Calculate, AfterRefresh, and SheetChange events. It
is the last event to occur after all refresh processing and all calc processing have completed, and it occurs after
Application.CalculationState is set to xlDone.
Application.NewWorkbook Event (Excel)
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .NewWorkbook(Wb)
Parameters
Name Required/Optional Data Type Description
Example
VBA
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .ProtectedViewWindowActivate(Pvw, )
Parameters
Name Required/Optional Data Type Description
Return Value
Nothing
Remarks
For more information about how to use event procedures with the Application object, see Using Events with
the Application Object.
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Occurs immediately before a Protected View window or a workbook in a Protected View window closes.
Syntax
Parameters
Name Required/Optional Data Type Description
An object that represents the Protected View
Pvw Required ProtectedViewWindow
window that is closed.
Return Value
Nothing
Example
The following code example prompts the user for a yes or no response before closing the Protected View
window. This code must be placed in a class module and an instance of that class must be correctly initialized.
For more information about how to use event procedures with the Application object, see Using Events with
the Application Object.
VBA
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .ProtectedViewWindowDeactivate(Pvw )
Return Value
Nothing
Example
The following code example minimizes any Protected View window when it is deactivated. This code must be
placed in a class module and an instance of that class must be correctly initialized. For more information about
how to use event procedures with the Application object, see Using Events with the Application Object.
VBA
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .ProtectedViewWindowOpen(Pvw, )
Parameters
Name Required/Optional Data Type Description
Example
The following code example informs the user that the workbook will be opened in a Protected View window.
This code must be placed in a class module and an instance of that class must be correctly initialized. For more
information about how to use event procedures with the Application object, see Using Events with the
Application Object.
VBA
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .ProtectedViewWindowResize(Pvw, )
Parameters
Name Required/Optional Data Type Description
Return Value
Nothing
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .ProtectedViewWindowResize(Pvw, )
Parameters
Name Required/Optional Data Type Description
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .SheetActivate(Sh, )
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .SheetBeforeDelete(Sh, )
Parameters
Name Required/Optional Data Type Description
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Occurs when any worksheet is double-clicked, before the default double-click action.
Syntax
Target Required Range The cell nearest to the mouse pointer when the double-click occurred.
False when the event occurs. If the event procedure sets this argument to
Cancel Required Boolean True, the default double-click action isn't performed when the procedure
is finished.
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Occurs when any worksheet is right-clicked, before the default right-click action.
Syntax
Parameters
Data
Name Required/Optional Description
Type
Target Required Range The cell nearest to the mouse pointer when the right-click occurred.
False when the event occurs. If the event procedure sets this argument to
Cancel Required Boolean True, the default right-click action isn't performed when the procedure is
finished.
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
Parameters
Name Required/Optional Data Type Description
TargetPivotTable Required PivotTable The PivotTable that contains the changes to apply.
Other Versions
Contribute to this content
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Occurs before changes are committed against the OLAP data source for a PivotTable.
Syntax
Parameters
Name Required/Optional Data Type Description
TargetPivotTable Required PivotTable The PivotTable that contains the changes to commit.
Other Versions
Contribute to this content
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
Parameters
Name Required/Optional Data Type Description
Sh Required Object
TargetPivotTable Required PivotTable The PivotTable that contains the changes to discard.
Return Value
Nothing
Remarks
Occurs immediately before Excel executes a ROLLBACK TRANSACTION statement against the OLAP data
source, if a transaction is still active, and then discards all edited values in the PivotTable, after the user has
chosen to discard changes.
Other Versions
Contribute to this content
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Occurs after the sheet of the PivotTable report has been updated.
Syntax
Parameters
Name Required/Optional Data Type Description
Example
This example displays a message stating that the sheet of the PivotTable report has been updated. This example
assumes you have declared an object of type Application or Workbook with events in a class module.
VBA
End Sub
pplication.SheetSelectionChange Event (Excel)
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Occurs when the selection changes on any worksheet (doesn't occur if the selection is on a chart sheet).
Syntax
Parameters
Name Required/Optional Data Type Description
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .SheetTableUpdate(Sh,Target)
Parameters
Name Required/Optional Data type Description
Other Versions
Contribute to this content
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Occurs after any worksheet is recalculated or after any changed data is plotted on a chart.
Syntax
expression .SheetCalculate(Sh, )
Parameters
Name Required/Optional Data Type Description
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Occurs when cells in any worksheet are changed by the user or by an external link.
Syntax
Parameters
Name Required/Optional Data Type Description
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Syntax
expression .SheetDeactivate(Sh, )
Parameters
Name Required/Optional Data Type Description
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Occurs after a callout gallery?s icons (dynamic & static) have finished rendering.
Syntax
expression .SheetLensGalleryRenderComplete(Sh)
Other Versions
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA
documentation.
Occurs after a cell or range of cells inside a PivotTable are edited or recalculated (for cells that contain
formulas).
Syntax
Parameters
Name Required/Optional Data Type Description
TargetPivotTable Required PivotTable The PivotTable that contains the edited or recalculated cells.
TargetRange Required Range The range that contains all the edited or recalcuated cells.
Return Value
Nothing
Remarks
The PivotTableAfterValueChange event does not occur under any conditions other than editing or
recalculating cells. For example, it will not occur when the PivotTable is refreshed, sorted, filtered, or drilled
down on, even though those operations move cells and potentially retrieve new values from the OLAP data
source.