SpreadsheetGear 2012
SaveAs Method (IWorksheet)






Saves this worksheet using the specified filename and FileFormat, and updates the FullName property.
Syntax
'Declaration
 
Sub SaveAs( _
   ByVal filename As System.String, _
   ByVal fileFormat As FileFormat _
) 
'Usage
 
Dim instance As IWorksheet
Dim filename As System.String
Dim fileFormat As FileFormat
 
instance.SaveAs(filename, fileFormat)
void SaveAs( 
   System.string filename,
   FileFormat fileFormat
)
procedure SaveAs( 
    filename: System.String;
    fileFormat: FileFormat
); 
function SaveAs( 
   filename : System.String,
   fileFormat : FileFormat
);
void SaveAs( 
   System.string* filename,
   FileFormat fileFormat
) 
void SaveAs( 
   System.String^ filename,
   FileFormat fileFormat
) 

Parameters

filename
fileFormat
Remarks
Note that the various workbook settings which make a workbook read-only in an end user workbookSet have no affect at this level.
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

IWorksheet Interface
IWorksheet Members
SaveAs(String,FileFormat) Method

Send Feedback