Run a macro when a cell contains a specific value

Solved
Hello,

I need your help!

Is it possible to trigger a macro when a cell contains a specific value?

Let me explain my case:
In one sheet I would like to run a macro (Add) when cell L3 contains the value "Valider" or run a macro (erase) when this same cell contains "annuler"

Thanks in advance for your help

Configuration: Configuration: Configuration: Windows / Chrome 55.0.2883.87

2 answers

  • Votes
  • Date
  • Descending date
  1. Contributor
    Hello

    how is "formé valider - effacer dans la cellule L3: résultat de formules saisies, liste de validation....." formed?

    --
    Michel
    1. Cancel and validate are entered/filled using a handheld scanner (barcode reader)
      It's in standard format
    2. Contributor
      @roouummSorry, but is it your dropper that writes directly to validate or erase in the cell?
    3. Yes, exactly
    4. Contributor
      @roouummthank you, I'll check in 2 or 3 hours