Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/02/2008, 07:48
Avatar de vbx3m
vbx3m
 
Fecha de Ingreso: febrero-2005
Ubicación: Venezuela
Mensajes: 524
Antigüedad: 19 años, 3 meses
Puntos: 1
Re: como recorrer columna excel?

Si quieres recorrer en forma ascendente te puedes guiar de este codigo:

Código:
Private Ex As New Excel.Application

Private Sub Form_Load()
.....
.....
Celda(10)
End Sub

Private Function Celda(n As Integer)
Do While Ex.Cells (n, 2) <> "algo"   
    n=n-1      
Loop    
....
.....
.....
End Function
__________________
ホルヘ・ラファエル・マルティネス・レオン