煩請大大幫忙簡化一下下列程式,不勝感激!!
For i = 6 To 45
If Range("c" & i) = "" Then
Range("e" & i) = ""
End If
If Range("c" & i) = "" Then
Range("f" & i) = ""
End If
If Range("c" & i) = "" Then
Range("g" & i) = ""
End If
If Range("c" & i) = "" Then
Range("h" & i) = ""
End If
If Range("c" & i) = "" Then
Range("i" & i) = ""
End If
If Range("c" & i) = "" Then
Range("j" & i) = ""
End If
If Range("c" & i) = "" Then
Range("k" & i) = ""
End If
If Range("c" & i) = "" Then
Range("l" & i) = ""
End If
If Range("c" & i) = "" Then
Range("m" & i) = ""
End If
If Range("c" & i) = "" Then
Range("n" & i) = ""
End If
Next作者: GBKEE 時間: 2014-1-7 17:26