码迷,mamicode.com
首页 > 其他好文 > 详细

pichuli

时间:2016-05-18 21:31:23      阅读:131      评论:0      收藏:0      [点我收藏+]

标签:

Sub a()
Worksheets("教师").Range("ap4:ap300").Value = 0
Worksheets("教师").Range("as4:as300").Value = 0
Worksheets("二线").Range("an3:an300").Value = 0
Worksheets("二线").Range("aq3:aq300").Value = 0
Dim i As Integer
Worksheets("Sheet1").Cells(1, 1)="姓名"
Worksheets("Sheet1").Cells(1, 2)="耀华"
Worksheets("Sheet1").Cells(1, 3)="嘉诚"
Worksheets("Sheet1").Cells(1, 4)="合计"
For i = 2 To 300
    Worksheets("Sheet1").Cells(i, 1) = Worksheets("非义务耀华在编").Cells(i + 2, 2)
    Worksheets("Sheet1").Cells(i, 2) = Worksheets("非义务耀华在编").Cells(i + 2, 5)
Next

End Sub

 

pichuli

标签:

原文地址:http://www.cnblogs.com/shortail/p/5506454.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!