By using Data from another sheet I need to insert rows.
For example, if there are data in column 10 using values from those cells as row number I need to insert columns.
This is the code I have and it wont work
Sheets("Input").Select
Rows("11:11").Select
Selection.Copy
Dim x As Integer
For x = 1 To 12
Dim Hdr As Integer
Hdr = Worksheets("Input").Cells(10, x).Value
Sheets("Data Table").Select
Rows("Hdr:Hdr").Select
Selection.Insert Shift:=xlDown
Next x