my dear learned friends
I have searched Everywhere I can think of and cannot find a solution to this problem.
the closest I have gotten is the following code but its very slow and cuts the data and pastes it to col D.
Here s the code <
Dim X As Long
Range("A3").Select
For X = 3 To Cells(Rows.Count, "A").End(xlUp).Row Step 2
Cells(X, "A").Cut Cells(X - 0, "D")
Next
Columns("E:G").Select
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Range("E1:G1").Select
Selection.Delete Shift:=xlToLeft
' Application.Goto Reference:="BuyOuts"
ActiveWorkbook.Worksheets("Cabinets").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("Cabinets").Sort.SortFields.Add2 Key:=Range( _
"AK2:AK1000"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:= _
xlSortNormal
With ActiveWorkbook.Worksheets("Cabinets").Sort
.SetRange Range("AK1:BB1000")
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With>
Your help will be much appreciated by my ignorant self.
I have searched Everywhere I can think of and cannot find a solution to this problem.
the closest I have gotten is the following code but its very slow and cuts the data and pastes it to col D.
Here s the code <
Dim X As Long
Range("A3").Select
For X = 3 To Cells(Rows.Count, "A").End(xlUp).Row Step 2
Cells(X, "A").Cut Cells(X - 0, "D")
Next
Columns("E:G").Select
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Range("E1:G1").Select
Selection.Delete Shift:=xlToLeft
' Application.Goto Reference:="BuyOuts"
ActiveWorkbook.Worksheets("Cabinets").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("Cabinets").Sort.SortFields.Add2 Key:=Range( _
"AK2:AK1000"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:= _
xlSortNormal
With ActiveWorkbook.Worksheets("Cabinets").Sort
.SetRange Range("AK1:BB1000")
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With>
Your help will be much appreciated by my ignorant self.