- 帖子
- 77
- 主題
- 19
- 精華
- 0
- 積分
- 115
- 點名
- 0
- 作業系統
- windows 7
- 軟體版本
- Office 2003
- 閱讀權限
- 20
- 性別
- 男
- 註冊時間
- 2011-2-19
- 最後登錄
- 2025-5-13
|
2#
發表於 2011-11-14 00:37
| 只看該作者
Sub round(ByVal first, ByVal second)
r = 0
For r = first To second
Cells(r, 43).ClearContents
Cells(r, 45).ClearContents
Cells(r, 47).ClearContents
Cells(r, 49).ClearContents
Cells(r, 54).ClearContents
Cells(r, 56).ClearContents
Cells(r, 58).ClearContents
Cells(r, 60).ClearContents
Cells(r, 65).ClearContents
Cells(r, 67).ClearContents
Cells(r, 69).ClearContents
Cells(r, 71).ClearContents
Cells(r, 76).ClearContents
Cells(r, 78).ClearContents
Cells(r, 80).ClearContents
Cells(r, 82).ClearContents
Cells(r, 87).ClearContents
Cells(r, 89).ClearContents
Cells(r, 91).ClearContents
Cells(r, 93).ClearContents
Next
End Sub
Sub round2(ByVal first, ByVal second)
r = 0
For r = first To second
Cells(r, 43).ClearContents
Cells(r, 45).ClearContents
Cells(r, 47).ClearContents
Cells(r, 49).ClearContents
Cells(r, 54).ClearContents
Cells(r, 56).ClearContents
Cells(r, 58).ClearContents
Cells(r, 60).ClearContents
Cells(r, 65).ClearContents
Cells(r, 67).ClearContents
Cells(r, 69).ClearContents
Cells(r, 71).ClearContents
Cells(r, 76).ClearContents
Cells(r, 78).ClearContents
Cells(r, 80).ClearContents
Cells(r, 82).ClearContents
Cells(r, 87).ClearContents
Cells(r, 89).ClearContents
Cells(r, 91).ClearContents
Cells(r, 93).ClearContents
Next
End Sub
還有欄位 |
|