更新 vba_code_kukan_detail_master.txt
This commit is contained in:
@@ -41,10 +41,11 @@ Sub FillFromKukanMaster(ByVal ws As Worksheet, ByVal rowNum As Long, Optional By
|
|||||||
Set wsKukan = ThisWorkbook.Worksheets("区間メンテナンス")
|
Set wsKukan = ThisWorkbook.Worksheets("区間メンテナンス")
|
||||||
MsgBox "1."
|
MsgBox "1."
|
||||||
On Error GoTo 0
|
On Error GoTo 0
|
||||||
|
MsgBox "5."
|
||||||
If wsKukan Is Nothing Then Exit Sub
|
If wsKukan Is Nothing Then Exit Sub
|
||||||
|
MsgBox "4."
|
||||||
code = Trim(ws.Cells(rowNum, 3).Value)
|
code = Trim(ws.Cells(rowNum, 3).Value)
|
||||||
|
MsgBox "3."
|
||||||
If code = "" Then Exit Sub
|
If code = "" Then Exit Sub
|
||||||
MsgBox "2."
|
MsgBox "2."
|
||||||
lastRow = wsKukan.Cells(wsKukan.Rows.Count, 3).End(xlUp).Row
|
lastRow = wsKukan.Cells(wsKukan.Rows.Count, 3).End(xlUp).Row
|
||||||
|
|||||||
Reference in New Issue
Block a user