VBA Macro to Insert Desired No.of Columns in Excel
Sub Inscols()
Dim i As Integer
Dim j As Integer
ActiveCell.Select
i = InputBox("Enter The Desired No.of Columns To Insert ")
For j = 1 To i
Selection.EntireColumn.Insert
Next j
End Sub
No comments:
Post a Comment
Hi User, Thank You for visiting My Blog. Please post your genuine Feedback or comments only related to this Blog Posts. Please do not post any Spam comments or Advertising kind of comments which will be Ignored.