投稿日 | : 2005/02/21(Mon) 14:29 |
投稿者 | : 花ちゃん |
Eメール | : |
URL | : |
タイトル | : Re: On ErrorResume Next はどこまで? |
> どなかたご存知の方、教えてください。よろしくお願いします。
ご自分で試して見る気になれませんか?
(質問内容を書いているより、こちらの方が簡単だったりして)
Private Sub Command1_Click()
On Error Resume Next
Debug.Print test(10, 0)
End Sub
Private Function test(ByVal x As Single, ByVal y As Single) As Single
' On Error Resume Next
test = x / y
End Function