RoseChompooh
New Member
- Joined
- Nov 26, 2019
- Messages
- 7
- Office Version
- 2010
- Platform
- Windows
Hi Guys,
I want to insert the column (in loop) for another sheet.
The example below is the code for inserting column in the current sheet only.
However, does anyone know how can I insert the column in Sheet 2 from the code below please ?
Example:
Thank you. ^^
I want to insert the column (in loop) for another sheet.
The example below is the code for inserting column in the current sheet only.
However, does anyone know how can I insert the column in Sheet 2 from the code below please ?
Example:
VBA Code:
Sub VBAColumn4()
Dim Column As Integer
Columns(2).Select
For Column = 0 To 12
ActiveCell.EntireColumn.Insert
ActiveCell.Offset(0, 4).Select
Next
End Sub
Thank you. ^^