Maxnub=max(range("A1:A10"))
Minnub=mim(range("A1:A10"))
然后msgbox “最大:&Maxnub"
msgbox “最小:&Minnub"
sub test ()msgbox "最大数是:" &max(range("A1:A10"))
msgbox "最大数是:" &max(range("A1:G10"))
msgbox "最小数是:"&min(range("A1:A10"))
msgbox "最小数是:"&min(range("A1:G10"))
end sub
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)