![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/01/2010, 05:29
|
| | Fecha de Ingreso: enero-2010
Mensajes: 2
Antigüedad: 15 años Puntos: 0 | |
Respuesta: ejecutar macro al cambiar el valor de una celda determinada YO TENGO ALGO MEJOR
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Range("A1:A2"), Target) Is Nothing Then Call MiFuncion
End Sub
Public Sub MiFuncion()
MsgBox "VALOR DE LA CELDA A CAMBIADO"
End Sub
ESTO SIRVE SI EL VALOR DE LA CELDA A1 ES =A2 ESTONCES SI CAMBIO EL VALOR DE A2 AUTOMATICAMENTE CAMBIA EL VALOR DE A1 |