Sub c()Dim m$,i%,n$a=Intputbox(“请输入”,“提示”,0)For i=1 to 50n=Application.Mid(Cells("i",1),1,7)n=n&mi=i+1sheet1.Cells("i",1)=ni=i-1NextEnd sub