討論串[VBA ] 將某一列的某個範圍清空
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者irishmove (王同學自助搬家)時間14年前 (2011/12/30 23:22), 編輯資訊
0
0
0
內容預覽:
試試將worksheets前面加入明確的指定試試看. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 175.181.233.50.

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者Catbert (宅男)時間14年前 (2011/12/29 22:58), 編輯資訊
0
0
0
內容預覽:
上面那列改成. Worksheets("SHEET1").Range(Cells(x, 2).address, Cells(x, 7).address).ClearContents. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 203.73.105.131.

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者zesy (認識新朋友!!)時間14年前 (2011/12/29 10:59), 編輯資訊
0
0
0
內容預覽:
Sub gg(). Dim x As Integer. If Worksheets("sheet2").Range("A1").Value >= 1 Then. x = Worksheets("sheet2").Range("A1").Value. Worksheets("SHEET1").Rang
(還有9個字)

推噓2(2推 0噓 2→)留言4則,0人參與, 最新作者zesy (認識新朋友!!)時間14年前 (2011/12/28 10:13), 編輯資訊
0
0
0
內容預覽:
例. a b c d e f g h i j. 1 # # # #. 2 # # # #. 3 # # # #. 4. 5. 6. 7. 8. x為變數. Worksheets("統計表").Range(Cells(x, 2), Cells(x, 5)).Clear. 請問這樣的寫法有錯嗎?. --
首頁
上一頁
1
下一頁
尾頁