投稿日 | : 2003/06/30(Mon) 18:01 |
投稿者 | : NEU(ノイ) |
Eメール | : |
URL | : |
タイトル | : Re: 御礼: Excel内の判定式結果の取得について。 |
xlSheet.Cells(1, 1) に ○
xlSheet.Cells(1, 2) に =IF(A1="○","正解","不正解") を入力し
セルに 正解 が表示された状態でその関数を実行すると False になりますが
よろしいですか。
strTemp(UBound(strTemp) - 1) は False の時の文字列です。
> IsCellBoolean = strCellValue <> strTemp(UBound(strTemp) - 1)
これは以下のものと同じです。
If strCellValue <> strTemp(UBound(strTemp) - 1) Then
IsCellBoolean = True
Else
IsCellBoolean = False
End If