Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/10/2008, 07:32
Laufwerk
 
Fecha de Ingreso: marzo-2007
Mensajes: 538
Antigüedad: 17 años, 2 meses
Puntos: 0
VB 2005 - error en funcion

Hola amigos!!!
tengo el siguiente codigo
Código:
Function checkFile(ByVal cellcheck) As Boolean
    If (Range(cellcheck).Value = "") Or (Range(cellcheck).Value = FALSO) Or (Range(cellcheck).Value = "Debes cargar un archivo en esta celda") Then
            SetRedMyCell (cellcheck)
            Return false
            Else
                SetWhiteMyCell (cellcheck)
                'myFirstCellAreOk = True
                return true
    End If
End Function
Alguien sabe pq me falla ?
no entiendo porqué no me deja poner el return ture o return false..

Gracias!!