VB6.0用掲示板の過去のログ(No.2)−VBレスキュー(花ちゃん)
[記事リスト] [新規投稿] [新着記事] [ワード検索] [管理用]

投稿日: 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!"とは?


- 関連一覧ツリー (★ をクリックするとツリー全体を一括表示します)

- 返信フォーム (この記事に返信する場合は下記フォームから投稿して下さい)

- VBレスキュー(花ちゃん) - - Web Forum -