s = T3.Text
If s = "枋寮到加祿站內(施工_南工處)" Or "加祿站內(施工_南工處)" Then
Cells(nextrow, "D") = "2019 / 2 / 28"
End If
If s = "加祿到枋山站間(施工_南工處)" Or "枋山站內(施工_南工處)" Then
Cells(nextrow, "D") = "2019 / 3 / 31"
End If
If s = "枋山到枋野站間(施工_南工處)" Or "枋野站內(施工_南工處)" Then
Cells(nextrow, "D") = "2019 / 4 / 30"
End If
If s = "枋野到中央號誌站間(施工_南工處)" Or "中央號誌站內(施工_南工處)" Then
Cells(nextrow, "D") = "2019 / 6 / 30"
End If
If s = "中央號誌站到菩安號誌站(施工_南工處)" Then
Cells(nextrow, "D") = "2019 / 7 / 31"
end if
我有DIM s as string
他就一直出項型態不符合
是哪裡有錯誤