投稿日 | : 2007/04/25(Wed) 10:02 |
投稿者 | : VB研修生 |
Eメール | : |
URL | : |
タイトル | : CSVファイルを編集 |
''CSVファイルを編集
For i = 0 To 2
If i <> 1 Then
xlSheet.Cells(13, 5 + i).FormulaR1C1 _
= IIf(xlSheet.Cells(13, 5 + i).FormulaR1C1 = 0, "#VALUE!", xlSheet.Cells(13, 5 + i).FormulaR1C1)
xlSheet.Cells(15, 5 + i).FormulaR1C1 _
= IIf(xlSheet.Cells(15, 5 + i).FormulaR1C1 = 0, "#VALUE!", xlSheet.Cells(15, 5 + i).FormulaR1C1)
xlSheet.Cells(17, 5 + i).FormulaR1C1 _
= IIf(xlSheet.Cells(17, 5 + i).FormulaR1C1 = 0, "#VALUE!", xlSheet.Cells(17, 5 + i).FormulaR1C1)
xlSheet.Cells(19, 5 + i).FormulaR1C1 _
= IIf(xlSheet.Cells(19, 5 + i).FormulaR1C1 = 0, "#VALUE!", xlSheet.Cells(19, 5 + i).FormulaR1C1)
End If
Next
上記のコードを具体的に教えてください。いまいちです。どんな処理なのですか?
"#VALUE!"とは?