Simona <strnecka13@seznam.cz>: > prosim pekne, nevedel byste nekdo jak upravit makro tak, aby se nemazal > jeden radek, ale dva? > > Sub nuloveradky() > > Sheets("cas1").Select > > For r = 10 To 149 > If Cells(r, 2).Value = 0 Then > Rows(r).EntireRow.Delete > End If > Next r > End Sub Zkusil bych tohle: If Cells(r, 2).Value = 0 Then Rows(r).EntireRow.Delete Rows(r).EntireRow.Delete End If a nebo tohle: If Cells(r, 2).Value = 0 Then Rows(r).EntireRow.Delete Rows(r+1).EntireRow.Delete End If Snad to zabere... -pp21-
This archive was generated by hypermail 2.1.3 : 21. 10. 2003, 10:29 CEST