https://imgur.com/a/tO6cmWG
The issue is the range i'm filtering will vary so the established range C1:C690963 and lower in the macro A1:A690963 need to be undefined. Does that make sense. Besides i'm using the same data set input as yesterday and yesterday I was not receiving an error so maybe there's something else going on as well.
Columns A-C are occupied with headers.
The issue is the range i'm filtering will vary so the established range C1:C690963 and lower in the macro A1:A690963 need to be undefined. Does that make sense. Besides i'm using the same data set input as yesterday and yesterday I was not receiving an error so maybe there's something else going on as well.
Columns A-C are occupied with headers.
Code:
Sub Part13()
' Pull Down List
Sheets("Sheet2").Select
Range("C2:C" & Range("A" & Rows.Count).End(xlUp).Row).FillDown
Sheets("Sheet2").Select
Application.CutCopyMode = False
Sheets("Sheet2").Select
Columns("C:C").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ 'Pulled down formula list turned into values
:=False, Transpose:=False
'below is remove null from desc and images
Columns("A:C").Select
Selection.AutoFilter
Range("D1").Select
ActiveWorkbook.Worksheets("Sheet2").AutoFilter.Sort.SortFields.Clear
[B] ActiveWorkbook.Worksheets("Sheet2").AutoFilter.Sort.SortFields.Add2 Key:= _
Range("C1:C690963"), SortOn:=xlSortOnValues, Order:=xlAscending, _
DataOption:=xlSortNormal[/B]
With ActiveWorkbook.Worksheets("Sheet2").AutoFilter.Sort
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Columns("C:C").Select
Selection.SpecialCells(xlCellTypeConstants, 16).Select
Range(Selection, Selection.End(xlToLeft).End(xlToLeft)).Select
Selection.ClearContents
ActiveWorkbook.Worksheets("Sheet2").AutoFilter.Sort.SortFields.Clear
ActiveWorkbook.Worksheets("Sheet2").AutoFilter.Sort.SortFields.Add2 Key:= _
Range("A1:A690963"), SortOn:=xlSortOnValues, Order:=xlAscending, _
DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("Sheet2").AutoFilter.Sort
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Selection.AutoFilter
'Endof PART13
End Sub