Hope it's helpful

ion (ion)
sNumber = Split(sVariable, "-")

If UBound(sNumber) > 1 Then
sVariable = sNumber(0) & "-"
For i = 1 To UBound(sNumber)
sVariable = sVariable & sNumber(i)
End If
2002-2-12 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: a small VB question

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论