Partager via


_Workbook.SaveCopyAs Method

Saves a copy of the workbook to a file but doesn't modify the open workbook in memory.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub SaveCopyAs ( _
    Filename As Object _
)
'Usage
Dim instance As _Workbook
Dim Filename As Object

instance.SaveCopyAs(Filename)
void SaveCopyAs(
    Object Filename
)

Parameters

  • Filename
    Type: System.Object

    Required. Specifies the file name for the copy.

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace