excel中从包含文字的字段中提取数字比如“100公里”我要提取100,急盼...答:按下ALT+F11,菜单:插入-模块,复制下面代码.退出 比如你的数据在A1,你在B1输入 =NUMBER(A1)B1就是你要提取的数字了.Public Function number(ByVal n As String) As String For x = 1 To Len(n)If Asc(Mid(n, x, 1)) >= 48 And Asc(Mid(n, x, 1)) <= 57 Or Asc(Mid(n, x,...