Hi ubns,
The code shows how one can continue extending a range until a certain heading (based on a heading Style) is reached. How/whether it might be helpful for you depends on what you're trying to achieve. However, since you haven't said anything about: what kinds of headings you're working with; how the starting point might be defined; or what content there might be between the tables you're interested in, no specific advice can be given.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|