Range("a1").Select
For i = 1 To 12
If (Range("A" & i) = "") Then
For C0 = 1 To 500
If (Mid(Range("C" & C0), 1, 1 = "單")) Then
Range("A" & i) = Mid(Range("C" & C0), 8, 8)
End If
Next C0
End If
Next
已知IF(mid...)那行有問題 要怎改
括號配對錯誤。
把
If (Mid(Range("C" & C0), 1, 1 = "單")) Then
改為
If (Mid(Range("C" & C0), 1, 1) = "單") Then