# GrapeCity.Documents.Excel.IWorksheet.Copy

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_IWorksheet_Copy_" data-uid="GrapeCity.Documents.Excel.IWorksheet.Copy*">Copy Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_IWorksheet_Copy_" data-uid="GrapeCity.Documents.Excel.IWorksheet.Copy*"></a>
<h4 id="GrapeCity_Documents_Excel_IWorksheet_Copy_GrapeCity_Documents_Excel_IWorkbook_" data-uid="GrapeCity.Documents.Excel.IWorksheet.Copy(GrapeCity.Documents.Excel.IWorkbook)">Copy(IWorkbook)</h4>
<div class="markdown level1 summary"><p>Copies the sheet to the end of 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">IWorksheet Copy(IWorkbook workbook = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Copy(Optional workbook As IWorkbook = Nothing) As IWorksheet</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Excel.IWorkbook.html">IWorkbook</a></td>
      <td><span class="parametername">workbook</span></td>
      <td><p>Specifies the workbook to which the sheet will be copied. If missing, the sheet will be copied to the current workbook.</p>
</td>
    </tr>
  </tbody>
</table>
<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="GrapeCity.Documents.Excel.IWorksheet.html">IWorksheet</a></td>
      <td><p>The new copied sheet.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
