在excel里打印,给录制的宏添加循环语句实现批量打印
Range("B1").SelectActiveCell.FormulaR1C1="1"ActiveWindow.SelectedSheets.PrintOutCopie...
Range("B1").Select
ActiveCell.FormulaR1C1 = "1"
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Range("B1").Select
ActiveCell.FormulaR1C1 = "2"
Range("B2").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Range("B1").Select
ActiveCell.FormulaR1C1 = "4"
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Range("B1").Select
ActiveCell.FormulaR1C1 = "5"
Range("B2").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1
。。。。从1一直到200 展开
ActiveCell.FormulaR1C1 = "1"
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Range("B1").Select
ActiveCell.FormulaR1C1 = "2"
Range("B2").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Range("B1").Select
ActiveCell.FormulaR1C1 = "4"
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Range("B1").Select
ActiveCell.FormulaR1C1 = "5"
Range("B2").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1
。。。。从1一直到200 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询