Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

85
Vistas
【Excel.Worksheet.onChanged】I only changed the range value once, but the callback was run many times. Why is that?

I want to implement a feature,Listen for changes in one range and assign values to another range.

My implementation steps:

1.Use the onChanged event to listen for changes to the data.

2.Assign the changed value【event.details.valueAfter】 to the target range in the callback function.

This is my code: https://i.stack.imgur.com/lealz.png

But the console will show that it ran the callback many times,This is the console log: https://i.stack.imgur.com/SS941.png

Is there something wrong with my code?Is there a good solution?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda