ReportRun()
Estimated reading time:
1 minute
Function Summary
The ReportRun function will run a designated report function(s) within a Workbook when triggered upon a designated event . This is typically used to synchronize the running of functions in other sheets within the Workbook.
For an example of this function, see Working with Pivot Tables .
Function Arguments
ReportCellToRun A cell address in a worksheet within your report that contains an Interject Data or Event function.
Type
Range
Constraints
If Blank
Will not run a report
RunEntireWorksheet True: Will run all the report functions located in the sheet specified in ReportCellToRun. False: Will only run the report function designated in ReportCellToRun.
Type
Boolean
Constraints
If Blank
True
OnAction A string indicating which event(s) will trigger this function (see table below for events).
Type
String
Constraints
"pull", "save", "pullandsave", "pullclear", "saveclear", "pullandsaveclear"
If Blank
"pull"
=ReportRun(ReportRunTargetForPivot!C4,TRUE,"PullClear")
Function Composition
Argument Name
Example Mapping
Explanation
Function Name
=ReportRun()
The name of this function.
ReportCellToRun
ReportRunTargetForPivot!C4
The function located in sheet "ReportRunTargetForPivot" at cell C4 will be ran when this function is triggered.
RunEntireWorksheet
TRUE
All data report functions located in sheet "ReportRunTargetForPivot" will be ran when this function is triggered.
OnAction
PullClear
This function will be triggered on a Pull-Clear event only.
Trigger Combination List
The execution of this function is determined by an Interject event.
Trigger
OnAction
Event Function Executes On
1
Pull
Pull-Run
2
Save
Save-Run
3
PullAndSave
Pull-Run, Save-Run
4
PullClear
Pull-Clear
5
SaveClear
Save-Clear
6
PullAndSaveClear
Pull-Clear, Save-Clear