macro sürekli calışıyor exel kitleniyor

Katılım
17 Haziran 2017
Mesajlar
29
Excel Vers. ve Dili
2010 Türkce
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Range("H2") Then Exit Sub
Call DOLU_HUCRELERI_KOPYALA
End Sub

h2 hücresi değişince "dolu hücreleri kopyala" makrosunu calıştır yaptım ama sürekli calışıyor exel kitleniyor
 

ÖmerBey

Destek Ekibi
Destek Ekibi
Katılım
22 Ekim 2012
Mesajlar
4,405
Excel Vers. ve Dili
2007 Türkçe
Merhaba,
Şu şekilde deneyiniz.
Kod:
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If [COLOR="Red"]Intersect(Target, Range("H2")) Is Nothing[/COLOR] Then Exit Sub
[COLOR="Red"]Application.EnableEvents = False[/COLOR]
Call DOLU_HUCRELERI_KOPYALA
[COLOR="red"]Application.EnableEvents = True[/COLOR]
End Sub
 
Üst