Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 01-16-2023, 04:42 AM
ChrisGreaves ChrisGreaves is offline Select a table in Word Windows 10 Select a table in Word Office 97-2003
Novice
 
Join Date: Nov 2022
Location: Bonavista, Newfoundland
Posts: 22
ChrisGreaves is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
There are multiple possibilities for the selection when the macro is run. The selection might not be in a table, inside a table, include part of a table, include a full table, include (parts of) more than one table.
Hello Andrew.
I went overboard with this twenty years ago, and wrote a slew of macros to deal with partial tables.
I realized that the selection could start either within or without a table, and could end within or without.
If the end points were outside tables, then ENTIRE applied.
But if either or both end points were in a table, one could ask for ENTIRE (that is, all tables embraced by the selection) or FRACTIONAL.
As well I had a method for processing just the bounding tables OR the tables excluding the bounding tables.

At the time I was doing a great deal of batch-processing - document conversion and cleansing - and this all made sense!
Cheers, Chris
Attached Images
File Type: png tables.png (81.3 KB, 17 views)
Attached Files
File Type: txt Tables.txt (1,016 Bytes, 6 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Select a table in Word How to Select All or Part of a Table in Word jeffreybrown Word VBA 2 09-03-2018 08:23 PM
Looking to copy select cells in table using dropdown list to paste to new table in another worksheet CaptainRetired Excel Programming 18 01-04-2018 07:22 PM
VBA Word Table - Select More than 1 Column at a time - Apply Formatting jc491 Word VBA 12 09-24-2015 06:03 AM
Select a table in Word Can't select a cell in my table dilorenzoc Word Tables 1 06-03-2015 05:56 AM
Select a table in Word Select Text in Table but Table Gets Selected Too RBusiness Word 1 06-07-2011 04:26 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:57 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft