阅读背景:

如果字符串是数字,vba将字符串转换为int

来源:互联网 

I need to convert a string, obtained from excel, in VBA to an interger. To do so I'm using CInt() which works well. However there is a chance that the string could be something other than a number, in this case I need to set the integer to 0. Currently I have:I need to convert a string, obtained from excel




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: