# GrapeCity.Spreadsheet.IWorkbook.Save

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_IWorkbook_Save_" data-uid="GrapeCity.Spreadsheet.IWorkbook.Save*">Save Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_IWorkbook_Save_" data-uid="GrapeCity.Spreadsheet.IWorkbook.Save*"></a>
<h4 id="GrapeCity_Spreadsheet_IWorkbook_Save" data-uid="GrapeCity.Spreadsheet.IWorkbook.Save">Save()</h4>
<div class="markdown level1 summary"><p>Saves changes to the specified workbook.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool Save()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Save() As Boolean</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>true</code> if changes are saved successful, <code>false</code> otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_IWorkbook_Save_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>To open a workbook file, use the <a class="xref" href="GrapeCity.Spreadsheet.IWorkbooks.Open.html#GrapeCity_Spreadsheet_IWorkbooks_Open_System_IO_Stream_GrapeCity_Spreadsheet_IO_OpenXml_ImportContext_System_Boolean_">Open(Stream, ImportContext, bool)</a> method or <a class="xref" href="GrapeCity.Spreadsheet.IWorkbooks.Open.html#GrapeCity_Spreadsheet_IWorkbooks_Open_System_String_GrapeCity_Spreadsheet_IO_OpenXml_ImportContext_">Open(string, ImportContext)</a> method.</p>
<p>To mark a workbook as saved without writing it to a disk, set its Saved property to True.</p><p>The first time you save a workbook, use the <a class="xref" href="GrapeCity.Spreadsheet.IWorkbook.SaveAs.html#GrapeCity_Spreadsheet_IWorkbook_SaveAs_System_IO_Stream_GrapeCity_Spreadsheet_IO_FileFormat_System_String_GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_">SaveAs(Stream, FileFormat, string, ExportContext)</a> method or <a class="xref" href="GrapeCity.Spreadsheet.IWorkbook.SaveAs.html#GrapeCity_Spreadsheet_IWorkbook_SaveAs_System_String_GrapeCity_Spreadsheet_IO_FileFormat_System_String_GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_">SaveAs(string, FileFormat, string, ExportContext)</a> method to specify a name for the file.</p>
</div>
</div>
