insert column vba code

  1. H

    Insert columns with VBA

    A bit of a novice here. I usually try to find my answers first before posting, although I kinda found an answer on a thread here, when asking for help I was told to start a new thread. So... I have a sheet with 5 columns (C-G). I need to insert 5 columns with the same formatting and formulas...
  2. M

    Find Column Header "location" and then Insert a Column with Column Header "Radius"

    Hi all, I'm just learning VBA, so I'm struggling with finding the column header "location" and then inserting a column to the right with a column header "radius." I would like to make this so that it loops through all of the worksheets in the workbook. 1-- Function loops through all...
  3. P

    Help - VBA code inserting columns and keeping formulas

    Hi, Please assist me. I have attached a sample file. I am using the following code to insert a column and copy formulas. Sub InsertColumn() ActiveCell.Offset(-1, 0).EntireColumn.Insert ActiveCell.EntireColumn.Copy ActiveCell.Offset(-1, 0).EntireColumn End Sub This inserts a...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top