title: Hide original columns after copying and inserting into new columns
body: <p>The following VBA code copies the red bordered cells (blue) and inserts them into the green bordered cells.</p>
  <pre class="lang-vb prettyprint-override"><code>Sub ColumnCopyInsert()
      Range(&quot;D:E&quot;).Copy
    Range(&quot;D2&quot;).End(xlToRight).Offset(-1, 1).Insert xlToRight
  End Sub
  </code></pre>
  <p><a href="https://i.stack.imgur.com/8EZbq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8EZbq.png" alt="FUNCTIONALITY VBA" /></a></p>
  <p>I would like to add a function to hide column D and E.</p>
  <p>If I hide the two columns and copy/insert new columns with my VBA button, they are also hidden.</p>
  <p>The goal is to hide D, E not the new columns.</p>