-1

嘿伙计们,我正在对文本框的输出进行格式化,该命令是否 variable = variable(format("""###########,""")) 只接受数字,还是字母也可以工作?任何帮助将不胜感激,并提前感谢所有帮助。

4

1 回答 1

0

是的,该格式仅适用于数字,请使用代码 variable_array = Split(variable, vbCrLf) For i As Integer = 0 To variable_array.Length - 1' loop through the array "variable_array" and do something with each array member variableformatted = variableformatted & """" & name_array(i) & """," & vbCrLf Next

于 2012-11-19T23:07:17.013 回答