Kod:
' diğer BULUYOR
Cells.Find(What:="G0000000", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
Range(Cells(ActiveCell.Row, "A"), Cells(ActiveCell.Row, "j")).Select
Selection.Copy
Range("A1").Activate
'BULUP ONA EKLİYOR
Cells.Find(What:="G3500000", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
Range(Cells(ActiveCell.Row, "A"), Cells(ActiveCell.Row, "j")).Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlAdd, SkipBlanks:= _
False, Transpose:=False
'TEKRAR diğer BULUYOR VE SİLİYOR
Range("A1").Activate
Çok teşekkürler
Kod:
' diğer BULUYOR
Cells.Find(What:="G0000000", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
Range(Cells(ActiveCell.Row, "A"), Cells(ActiveCell.Row, "j")).Select
[B]oN ERROR
MsgBox "G0000000 BULAMADIM DEAVM ETMEK İSTİYORMUSUNUZ", vbYESNO, "Dikkat"
If result = vbYes Then
goto BURDAN_DEVAM[/B]
Selection.Copy
Range("A1").Activate
'BULUP ONA EKLİYOR
Cells.Find(What:="G3500000", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
Range(Cells(ActiveCell.Row, "A"), Cells(ActiveCell.Row, "j")).Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlAdd, SkipBlanks:= _
False, Transpose:=False
'TEKRAR diğer BULUYOR VE SİLİYOR
[B]BURDAN_DEVAM[/B]
Range("A1").Activate