WorksheetClass.SaveAs Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Public Overridable Sub SaveAs ( _
Filename As String, _
FileFormat As Object, _
Password As Object, _
WriteResPassword As Object, _
ReadOnlyRecommended As Object, _
CreateBackup As Object, _
AddToMru As Object, _
TextCodepage As Object, _
TextVisualLayout As Object, _
Local As Object _
)
'Usage
Dim instance As WorksheetClass
Dim Filename As String
Dim FileFormat As Object
Dim Password As Object
Dim WriteResPassword As Object
Dim ReadOnlyRecommended As Object
Dim CreateBackup As Object
Dim AddToMru As Object
Dim TextCodepage As Object
Dim TextVisualLayout As Object
Dim Local As Object
instance.SaveAs(Filename, FileFormat, _
Password, WriteResPassword, ReadOnlyRecommended, _
CreateBackup, AddToMru, TextCodepage, _
TextVisualLayout, Local)
public virtual void SaveAs(
string Filename,
Object FileFormat,
Object Password,
Object WriteResPassword,
Object ReadOnlyRecommended,
Object CreateBackup,
Object AddToMru,
Object TextCodepage,
Object TextVisualLayout,
Object Local
)
Parameters
- Filename
Type: System.String
- FileFormat
Type: System.Object
- Password
Type: System.Object
- WriteResPassword
Type: System.Object
- ReadOnlyRecommended
Type: System.Object
- CreateBackup
Type: System.Object
- AddToMru
Type: System.Object
- TextCodepage
Type: System.Object
- TextVisualLayout
Type: System.Object
- Local
Type: System.Object
Implements
_Worksheet.SaveAs(String, Object, Object, Object, Object, Object, Object, Object, Object, Object)