# FarPoint.Win.Spread.Model.ITableModelSupport.AdjustFormulaOnClipboardPaste

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Model_ITableModelSupport_AdjustFormulaOnClipboardPaste_" data-uid="FarPoint.Win.Spread.Model.ITableModelSupport.AdjustFormulaOnClipboardPaste*">AdjustFormulaOnClipboardPaste Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Model_ITableModelSupport_AdjustFormulaOnClipboardPaste_" data-uid="FarPoint.Win.Spread.Model.ITableModelSupport.AdjustFormulaOnClipboardPaste*"></a>
<h4 id="FarPoint_Win_Spread_Model_ITableModelSupport_AdjustFormulaOnClipboardPaste_System_String_System_Collections_Generic_Dictionary_System_String_FarPoint_Win_Spread_Model_ITableRange__System_Collections_Generic_Dictionary_System_String_FarPoint_Win_Spread_Model_ITableRange__System_Int32_System_Int32_FarPoint_Win_Spread_Model_ReferenceStyle_" data-uid="FarPoint.Win.Spread.Model.ITableModelSupport.AdjustFormulaOnClipboardPaste(System.String,System.Collections.Generic.Dictionary{System.String,FarPoint.Win.Spread.Model.ITableRange},System.Collections.Generic.Dictionary{System.String,FarPoint.Win.Spread.Model.ITableRange},System.Int32,System.Int32,FarPoint.Win.Spread.Model.ReferenceStyle)">AdjustFormulaOnClipboardPaste(string, Dictionary&lt;string, ITableRange&gt;, Dictionary&lt;string, ITableRange&gt;, int, int, ReferenceStyle)</h4>
<div class="markdown level1 summary"><p>Adjusts formulas when pasting from the Clipboard.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">string AdjustFormulaOnClipboardPaste(string formula, Dictionary&lt;string, ITableRange&gt; addTables, Dictionary&lt;string, ITableRange&gt; removeTables, int row, int column, ReferenceStyle referenceStyle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function AdjustFormulaOnClipboardPaste(formula As String, addTables As Dictionary(Of String, ITableRange), removeTables As Dictionary(Of String, ITableRange), row As Integer, column As Integer, referenceStyle As ReferenceStyle) As String</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">formula</span></td>
      <td><p>The formula that is being adjusted</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="FarPoint.Win.Spread.Model.ITableRange.html">ITableRange</a>&gt;</td>
      <td><span class="parametername">addTables</span></td>
      <td><p>The added tables list.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="FarPoint.Win.Spread.Model.ITableRange.html">ITableRange</a>&gt;</td>
      <td><span class="parametername">removeTables</span></td>
      <td><p>Dictionary of removed tables.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>Row index.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>Column index.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Model.ReferenceStyle.html">ReferenceStyle</a></td>
      <td><span class="parametername">referenceStyle</span></td>
      <td><p>Reference style of the formula.</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> object</p>
</td>
    </tr>
  </tbody>
</table>
</div>
