sward175
Özel Üye
- Katılım
- 4 Şubat 2011
- Mesajlar
- 1,197
- Excel Vers. ve Dili
- Excel Vers. ve Dili:
Microsoft Office Professional Plus 2016
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Alansil()
Adres = Application.InputBox("Hücre adresini yazınız.Örn A1:D10 gibi", "Hücre Adresi")
If Adres = "" Or Adres = False Then
MsgBox "İptal edildi"
Exit Sub
End If
For Each hucre In ActiveSheet.Range(Adres)
If IsError(hucre.Value) = True Then
Range(hucre.Address) = ""
ElseIf Range(hucre.Address) <> "" Then Range(hucre.Address) = ""
End If
Next
End Sub
Selection.SpecialCells(2, 7) = ""
Sub Alansil()
Adres = Application.InputBox("Hücre adresini yazınız.Örn A1:D10 gibi", "Hücre Adresi")
If Adres = "" Or Adres = False Then
MsgBox "İptal edildi"
Exit Sub
End If
On Error GoTo 20
For Each hucre In ActiveSheet.Range(Adres)
If hucre.HasFormula = True Then GoTo 10
Range(hucre.Address).ClearContents
10:
Next
MsgBox "İşlem Tamam", vbInformation
Exit Sub
20:
MsgBox "Belirlediğiniz Alanda Birleştirilmiş Hücreler Var,İşlem Yapılamıyor", vbInformation
End Sub