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

  FORUM HardWare.fr
  Programmation
  VB/VBA/VBS

  Next sans for ?????

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Next sans for ?????

n°1166550
conundrum0​02
Posté le 01-08-2005 à 11:52:47  profilanswer
 

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

mood
Publicité
Posté le 01-08-2005 à 11:52:47  profilanswer
 

n°1166666
theShOcKwA​vE
I work at a firm named Koslow
Posté le 01-08-2005 à 13:06:13  profilanswer
 

Tu peux faire un troisième sujet ? :o

n°1166677
galopin01
Posté le 01-08-2005 à 13:16:21  profilanswer
 

Bonjour,
Ferme le With, ça devrait le faire...
A+


---------------
roger

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

  Next sans for ?????

 

Sujets relatifs
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-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)