J
jj
I am trying to delete everything within a range. Currently I am
mostly concerned about text and tables, but will eventually need to
include drawing objects and other such items. I can delete the text
by setting the Range.Text property to the empty string, but how can I
remove the tables. If I use the Range.Tables property, I get the
tables inside the range in most situations, but if the range is inside
of a table I get the outer table, resulting in me deleting much more
than I want to. Can someone please help me with a method to delete
everything from within a range, or at least delete all tables within a
range, without deleting parent tables of a range.
mostly concerned about text and tables, but will eventually need to
include drawing objects and other such items. I can delete the text
by setting the Range.Text property to the empty string, but how can I
remove the tables. If I use the Range.Tables property, I get the
tables inside the range in most situations, but if the range is inside
of a table I get the outer table, resulting in me deleting much more
than I want to. Can someone please help me with a method to delete
everything from within a range, or at least delete all tables within a
range, without deleting parent tables of a range.