'in_dt が未入力かチェック '未入力チェック If IsNull(in_dt) = TRUE then Msgbox "in_dtが未入力です。" End If If Len(in_dt) = 0 then Msgbox "in_dtが未入力です。" End If