| GrapeCity.Excel Namespace > ExcelWorkbook Class > Save Method : Save(String,String) Method | 
'Declaration Public Overloads Sub Save( _ ByVal file As System.String, _ Optional ByVal password As System.String _ )
'Usage Dim instance As ExcelWorkbook Dim file As System.String Dim password As System.String instance.Save(file, password)
| Exception | Description | 
|---|---|
| System.InvalidOperationException | throw when the file has invalid extension. | 
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)