Macro excel

tartempion -  
 tartempion -
Bonjour,

Mon écriture ci-dessous ne passe pas dans ma macro, comment m'exprimer???
If Cells(8, 1) = Cells(8, 2)or Cells(9, 2)or Cells(10, 2) Then Cells(15, 1) = 100
Merci pour toute aide.
Configuration: Windows XP Internet Explorer 6.0

1 réponse

  1. CharlemagneKid Messages postés 19 Statut Membre
     
    L'écriture correcte est:

    If (Cells(8, 1) = Cells(8, 2) or Cells(8, 1) = Cells(9, 2) or Cells(8, 1) = Cells(10, 2)) Then: Cells(15, 1) = 100

    Cordialement.
    0
    1. tartempion
       
      Je te remercie
      0