llamar function dentro de un private sub
Publicado por nfalcondelgado (13 intervenciones) el 24/02/2010 13:02:49
Buenos dias, como podria llamar un function desde dentro de un private sub? la function seria:
Function recortar(lotenew As String) As String
Dim posi As Double
posi = 0
posi = InStr(1, lotenew, "@00")
If posi > 0 Then lotenew = Mid(lotenew, 1, posi - 1)
End Function
gracias
Function recortar(lotenew As String) As String
Dim posi As Double
posi = 0
posi = InStr(1, lotenew, "@00")
If posi > 0 Then lotenew = Mid(lotenew, 1, posi - 1)
End Function
gracias
Valora esta pregunta


0