(已解決)錯誤1004 請教一下這一段code是否有邏輯錯誤
- 帖子
- 1572
- 主題
- 16
- 精華
- 2
- 積分
- 1521
- 點名
- 0
- 作業系統
- xp
- 軟體版本
- office 2003
- 閱讀權限
- 150
- 性別
- 男
- 註冊時間
- 2010-5-1
- 最後登錄
- 2016-1-13

|
result = Application.WorksheetFunction.Min(myRange)
If (result.Address.Row > 0) And (result.Address.Row < 3001) Then
這裡就不合邏輯,沒有這樣表達的!
你應該在工作表上測試,看錯誤中斷在哪裡
光看代碼沒有文件很難找出所有問題。 |
|
|
|
|
|
|
|