Version

RenameSheet Method (XamSpreadsheetProxy)

Renames the identified Worksheet
Syntax
'Declaration
 
Public Sub RenameSheet( _
   ByVal oSheetArg As System.Object, _
   ByVal sNewName As System.String _
) 
public void RenameSheet( 
   System.object oSheetArg,
   System.string sNewName
)
public: void RenameSheet( 
   System.Object* oSheetArg,
   System.string* sNewName
) 

Parameters

oSheetArg
string text or integer index representing the identified Worksheet.
sNewName
new string name for the worksheet
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