- 帖子
- 5923
- 主題
- 13
- 精華
- 1
- 積分
- 5986
- 點名
- 0
- 作業系統
- win10
- 軟體版本
- Office 2010
- 閱讀權限
- 150
- 性別
- 男
- 來自
- 台灣基隆
- 註冊時間
- 2010-5-1
- 最後登錄
- 2022-1-23
        
|
回復 3# like_azure - For Each theArea In rng.Areas
- '遍歷各AREA的各列
- For Each theRow In theArea.Rows
- theRow.Select '選定此列
- MsgBox theRow.Cells(1).Address '顯示此列第1欄的位址
- MsgBox theRow.Cells(theRow.Count).Address '顯示此列最後1欄的位址
- Next
- Next
複製代碼 |
|