Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More than one criteria (Find function)?
Message
Information générale
Forum:
Microsoft Office
Catégorie:
Excel
Divers
Thread ID:
01096197
Message ID:
01096255
Vues:
12
Marc,

One of the solutions could be to loop through all found cells, like (here is the fragment of VFP code that I am using, but you can follow it in VBA with minor changes):
*....
	if .Selection.Find(lcfind, ,xlValues,xlPart, xlByColumns).Activate

		lcaddress=.ActiveCell.Address
		lo=.ActiveCell
		
		DO WHILE .Activesheet.Cells.FindNext(lo).Activate ;
                     AND  .ActiveCell.Address # lcaddress and ;
                                NOT your_condition_goes_here
			
			lo=null
			lo=.ActiveCell
			
		ENDDO
	
	ENDIF
*..........
>Is it possible to set more than one criteria in .Find(What:="") ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform