Stergere continut coloane
-
- Mesaje: 13
- Membru din: Vin Oct 19, 2018 1:27 am
Stergere continut coloane
Buna ziua
Va rog ajutati-ma
In codul de mai jos se sterge incepand cu celula A6 continutul din randuri si toate coloanele.
Eu as dori sa se stearga continutul incepand cu A6 in jos si doar continutul din primele 4 coloane
Va multumesc frumos.
'sterge informatia veche din foaia
With Sheets("sheet2").Range("A6").CurrentRegion.Offset(6, 1)
.Borders.LineStyle = xlNone
.ClearContents
End With
Va rog ajutati-ma
In codul de mai jos se sterge incepand cu celula A6 continutul din randuri si toate coloanele.
Eu as dori sa se stearga continutul incepand cu A6 in jos si doar continutul din primele 4 coloane
Va multumesc frumos.
'sterge informatia veche din foaia
With Sheets("sheet2").Range("A6").CurrentRegion.Offset(6, 1)
.Borders.LineStyle = xlNone
.ClearContents
End With
-
- Mesaje: 437
- Membru din: Mar Dec 11, 2018 8:54 pm
Re: Stergere continut coloane
Salut,
Testeaza:
Testeaza:
Cod: Selectaţi tot
lastRow = Sheet2.Cells(Sheet2.Rows.Count, 1).End(xlUp).Row
With Sheets("sheet2").Range("A6:D" & LastRow)
.Borders.LineStyle = xlNone
.ClearContents
End With
藍
"I fear the day that technology will surpass our human interaction. The world will have a generation of idiots."
Albert Einstein
"I fear the day that technology will surpass our human interaction. The world will have a generation of idiots."
Albert Einstein
-
- Mesaje: 13
- Membru din: Vin Oct 19, 2018 1:27 am
Re: Stergere continut coloane
Multumesc frumos, e super.
Asa novice cum sunt, sper sa ajut si eu pe cineva pe acest forum.
Inca odata MULTUMESC!
Asa novice cum sunt, sper sa ajut si eu pe cineva pe acest forum.
Inca odata MULTUMESC!
-
- Mesaje: 437
- Membru din: Mar Dec 11, 2018 8:54 pm
Re: Stergere continut coloane
Toti am fost începători....
藍
"I fear the day that technology will surpass our human interaction. The world will have a generation of idiots."
Albert Einstein
"I fear the day that technology will surpass our human interaction. The world will have a generation of idiots."
Albert Einstein