Hi there,
I can't figure out what's wrong with my code for my macro.
Sheets("NON OFFICIAL NON BPPL LIST").Select
ActiveSheet.Range("A29:H29").Select
Selection.AutoFill Destination:=Range("A29:H2050")
ActiveSheet.Range("A29:H2050").Select
Calculate
Columns("A:I").Select
Selection.Copy
Sheets("OFFICIAL NON BPPL LIST").Select
ActiveWindow.SmallScroll Down:=-4
ActiveWindow.LargeScroll Down:=-1
Selection.AutoFilter Field:=1, Criteria1:="<>"
Application.CutCopyMode = False
ActiveSheet.ShowAllData
Sheets("NON OFFICIAL NON BPPL LIST").Select
Selection.Copy
Sheets("OFFICIAL NON BPPL LIST").Select
ActiveSheet.Columns("A:I").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Selection.AutoFilter Field:=1, Criteria1:="<>"
The sentence Selection.AutoFill Destination:=Range("A29:H2050") is highlighted.
Can someone help me?
Regards
I can't figure out what's wrong with my code for my macro.
Sheets("NON OFFICIAL NON BPPL LIST").Select
ActiveSheet.Range("A29:H29").Select
Selection.AutoFill Destination:=Range("A29:H2050")
ActiveSheet.Range("A29:H2050").Select
Calculate
Columns("A:I").Select
Selection.Copy
Sheets("OFFICIAL NON BPPL LIST").Select
ActiveWindow.SmallScroll Down:=-4
ActiveWindow.LargeScroll Down:=-1
Selection.AutoFilter Field:=1, Criteria1:="<>"
Application.CutCopyMode = False
ActiveSheet.ShowAllData
Sheets("NON OFFICIAL NON BPPL LIST").Select
Selection.Copy
Sheets("OFFICIAL NON BPPL LIST").Select
ActiveSheet.Columns("A:I").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Selection.AutoFilter Field:=1, Criteria1:="<>"
The sentence Selection.AutoFill Destination:=Range("A29:H2050") is highlighted.
Can someone help me?
Regards