I
Iorav Marz
Hello,
I would like to select multiple rows of a table in PowerPoint and then
delete these rows. In the past, I have used code that deletes rows one at a
time. However, I am applying this code on many tables over 100 slides and
recursively cycling through rows one by one is very slow.
Is there a way to modify the code to perform the delete operation all at once?
With ActiveWindow.Selection.ShapeRange(1).Table
For Z = 2 To 10
..Rows(Z).Delete
Next
End With
Ideally, I was hoping that the .rows(Z) property could be modified to
include a range of rows instead of just a single row. Something like
..rows("2:10") although that doesn't seem to work.
Thanks.
I would like to select multiple rows of a table in PowerPoint and then
delete these rows. In the past, I have used code that deletes rows one at a
time. However, I am applying this code on many tables over 100 slides and
recursively cycling through rows one by one is very slow.
Is there a way to modify the code to perform the delete operation all at once?
With ActiveWindow.Selection.ShapeRange(1).Table
For Z = 2 To 10
..Rows(Z).Delete
Next
End With
Ideally, I was hoping that the .rows(Z) property could be modified to
include a range of rows instead of just a single row. Something like
..rows("2:10") although that doesn't seem to work.
Thanks.