dim i as double,j as double
i=val(text1)
j=val(text2)
if not(i>=500 and i<=1390 and i=int(i)) then msgbox "转速设置不合格"
if not(j>=0 and j<=600000 and j=int(j)) then msgbox "采集点数不合格"
dim i as double,j as double
i=val(text1)
j=val(text2)
if not(i>=500 and i<=1390 and i=int(i)) then msgbox "转速设置不合格"
if not(j>=0 and j<=600000 and j=int(j)) then msgbox "采集点数不合格"