Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1487 connectés 

  FORUM HardWare.fr
  Programmation
  VB/VBA/VBS

  Next sans for

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Next sans for

n°1166555
conundrum0​02
Posté le 01-08-2005 à 11:54:31  profilanswer
 

Salut  
G un message d'erreur m'indiquent next saans for et apres maintes verification il y abien le compte
 
 
AuxMatrix = Array("Columns CS", "Columns SS", "Columns Cladded" )
For j = 0 To 2
With Worksheets(AuxMatrix(j))
MsgBox AuxMatrix(j)
N = 0
For i = 5 To 5000
     
        If .Cells(i, 2) = "" And Cells(i + 1, 2) = "" Then
            For w = 1 To 5
                If Cells(i, 2 + w) = "" Then
                    N = i
                    Exit For
                End If
            Next w
            If N <> 0 Then
                N = i
                Exit For
            End If
        End If
 
    If N - 1 > Last_Data Then
        Last_Data = N - 1
    End If
 
Next i
 
Next j
 
 
D'avance merci

mood
Publicité
Posté le 01-08-2005 à 11:54:31  profilanswer
 

n°1166612
lhonolulu
Posté le 01-08-2005 à 12:27:53  profilanswer
 

il manque le end with juste avant le next j...


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  VB/VBA/VBS

  Next sans for

 

Sujets relatifs
Next sans for ?????Next sans For ??????
Next ID utilisé par Mysql[ASP] On Error resume next Kezako ?
next()VB : Fonctionnement d'un "On error goto next" pour récupérer ceci
[mysql/phpmyadmin] Next Autoindex = 61 ? (champs auto-incrementé)[PHP/MySQL] Comment connaitre le next Autoindex ?
[C] #include_next[VB] : For ... Next et fouttage de gueule
Plus de sujets relatifs à : Next sans for


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR