SpreadsheetGear 2023
CurrentWorksheet Property (IArguments)


SpreadsheetGear.CustomFunctions Namespace > IArguments Interface : CurrentWorksheet Property
Returns the worksheet of the cell which is currently being calculated. The Function.Evaluate method precludes the use of any API on this worksheet except for the Name, Index and Workbook.Name properties.
Syntax
'Declaration
 
ReadOnly Property CurrentWorksheet As IWorksheet
'Usage
 
Dim instance As IArguments
Dim value As IWorksheet
 
value = instance.CurrentWorksheet
IWorksheet CurrentWorksheet {get;}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IArguments Interface
IArguments Members