Sub 宏1() ' ' 宏1 宏 ' ' ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级01班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级02班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级03班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级04班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级05班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级06班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级07班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级08班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级09班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilterField:=8, Criteria1:= _ "高2015级10班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8, Criteria1:=_ "高2015级11班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级12班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级13班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级14班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级15班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级16班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级17班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级18班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级19班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False ActiveSheet.Range("$A$5:$Y$1496").AutoFilter Field:=8,Criteria1:= _ "高2015级20班" ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False End Sub
|