Tables wholly containd in a range

A

Alex

Hello,

What is the best way to find all tables wholly contained within a range?

range.Tables also gives me the tables that contain the range, not just the ones that are contained in it.


Thanks,
Alex.
 
J

Jonathan West

Hi Alex

You can use the InRange method to compare two ranges, i.e. of each table in
turn with your original range


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org


Hello,

What is the best way to find all tables wholly contained within a range?

range.Tables also gives me the tables that contain the range, not just the
ones that are contained in it.


Thanks,
Alex.
 
A

Alex

Jonathan West said:
You can use the InRange method to compare two ranges, i.e. of each table in
turn with your original range

Good call. Thanks!


Best wishes,
Alex.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top