你写一个函数就好了比如private function Fun(i as string) as string select case i case 1 fun="壹"
case else fun=cstr(i) end select end sub主函数 private sub GetChange() dim s as string ,i as integer for i=1 to len(date) s=s & fun(mid(cstr(date),i,1)) next end sub我没测试,你自己调调。逻辑上对了
select case i
case 1
fun="壹"
case else
fun=cstr(i)
end select
end sub主函数
private sub GetChange()
dim s as string ,i as integer
for i=1 to len(date)
s=s & fun(mid(cstr(date),i,1))
next
end sub我没测试,你自己调调。逻辑上对了