Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2020, 02:23 PM
jackiru jackiru is offline select all the tables with certain text Windows 7 32bit select all the tables with certain text Office 2010
Novice
select all the tables with certain text
 
Join Date: Dec 2020
Posts: 4
jackiru is on a distinguished road
Default select all the tables with certain text


I need to select all the tables that contain any of the words in the first row (words are in the sample below) . VBA macro?
Attached Files
File Type: docx sample.docx (17.6 KB, 15 views)
Reply With Quote
  #2  
Old 12-15-2020, 02:46 AM
macropod's Avatar
macropod macropod is offline select all the tables with certain text Windows 10 select all the tables with certain text Office 2010
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Your document has just one table which, naturally enough, contains all the words in the first row. That doesn't give much to work with. In any event, VBA cannot select discontinuous ranges and, for most purposes, VBA doesn't need to select anything.

You need to tell us what you're trying to achieve with the tables of interest.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
select all the tables with certain text select all tables majed_m Word VBA 5 07-30-2015 03:29 AM
VBA Search Table for Text/Select Text/Insert Hyperlink sldrellich Word VBA 3 03-24-2015 01:09 PM
Microsoft Word macro to find text, select all text between brackets, and delete helal1990 Word VBA 4 02-05-2015 03:52 PM
select all the tables with certain text Macro to select and update all tables in document CircleG Word VBA 6 10-17-2014 07:25 PM
select all the tables with certain text Macro to select tables ubns Word VBA 5 04-15-2012 11:44 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:59 AM.


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