How can I select all of the text in Word tables in a document?
Thread poster: John Di Rico

John Di Rico  Identity Verified
France
Local time: 00:53
Member (2006)
French to English
Mar 28, 2008

Hi,
I need to select all of the text in a Word document's tables in order to assign an untranslatable attribute (for use with WF) and to confirm a word count.
Anyone know how to do this?

Thanks!

John Di Rico


Direct link Reply with quote
 

Buck
Netherlands
Local time: 00:53
Dutch to English
Simple Mar 28, 2008

Hi. Move your cursor to the top of the table and move it down until the cursor becomes an arrow, move the arrow down and across the table until all the cells become black. The text is then selected and you can do just about anything you want to with it, including counting the number of words.
Hope this helps


Direct link Reply with quote
 

patyjs  Identity Verified
Mexico
Local time: 17:53
Spanish to English
+ ...
Top left corner. Mar 28, 2008

If you hover the mouse over the top left corner of the table, it will show a small box just outside the table. Clicking here selects the whole table.

HTH

Paty


Direct link Reply with quote
 

John Di Rico  Identity Verified
France
Local time: 00:53
Member (2006)
French to English
TOPIC STARTER
thanks but... Mar 28, 2008

Thanks Paty,

There are more than 30 tables in the document and I was hoping to find a way to select them all at once using find function for example with "highlight all items found in:" checked.

John


Direct link Reply with quote
 
Charlie Bavington  Identity Verified
Local time: 23:53
French to English
Ctrl key is your friend Mar 28, 2008

John Di Rico wrote:

Thanks Paty,

There are more than 30 tables in the document and I was hoping to find a way to select them all at once using find function for example with "highlight all items found in:" checked.

John


As with Windows in general, use the Ctrl key to select multiple objects, i.e. keep it held down as you select each table in turn (which only works in page view, BTW).


Direct link Reply with quote
 

John Di Rico  Identity Verified
France
Local time: 00:53
Member (2006)
French to English
TOPIC STARTER
thanks Charlie and Buck Mar 28, 2008

I guess I'll have to do it using control... it's too bad you can't highlight all tables to batch process them.

Thanks everyone,

John


Direct link Reply with quote
 

Hynek Palatin  Identity Verified
Czech Republic
Local time: 00:53
English to Czech
+ ...
Macro Mar 28, 2008

John Di Rico wrote:

it's too bad you can't highlight all tables to batch process them.


I think you would have to write a macro to do that.

You could also move the cursor to a table and record a simple macro:
- select the table (using the following menu items: Table - Select - Table)
- apply the required formatting

Then assign the macro to a hotkey, manually select each table in the document and press the hotkey.


Direct link Reply with quote
 

Luis Antonio de Larrauri  Identity Verified
Local time: 00:53
English to Spanish
+ ...
Macros Mar 29, 2008

Hynek Palatin wrote:

John Di Rico wrote:

it's too bad you can't highlight all tables to batch process them.


I think you would have to write a macro to do that.

You could also move the cursor to a table and record a simple macro:
- select the table (using the following menu items: Table - Select - Table)
- apply the required formatting

Then assign the macro to a hotkey, manually select each table in the document and press the hotkey.


Thanks for that tip, Hynek. How can I erase a macro? I just wrote one to see how it works, but it is the first time I use this feature.

[Editado a las 2008-03-29 11:35]


Direct link Reply with quote
 

Hynek Palatin  Identity Verified
Czech Republic
Local time: 00:53
English to Czech
+ ...
Erasing macros Mar 29, 2008

LUIS ANTONIO DE LARRAURI wrote:

How can I erase a macro?


Macros can be erased in MS Visual Basic Editor (Alt+F11 in Word). But I recommend reading help first.

[Upraveno: 2008-03-29 14:04]


Direct link Reply with quote
 

Luis Antonio de Larrauri  Identity Verified
Local time: 00:53
English to Spanish
+ ...
Thanks Mar 30, 2008

Thanks again, Hynek!

Direct link Reply with quote
 
if you want to change text format Nov 20, 2012

Click on one cell. Press control-A to select all cells.
Press control-T and this will bring you to a text formatting box where you can change the font color, size, or type.


Direct link Reply with quote
 
If anyone needs it Nov 22, 2012

Here is a simple VBA macro to select all tables in active document:


Sub SelectAllTables()

Application.ScreenUpdating = False

For Each objTable In ActiveDocument.Tables
objTable.Range.Editors.Add wdEditorEveryone
Next

ActiveDocument.SelectAllEditableRanges (wdEditorEveryone)
ActiveDocument.DeleteAllEditableRanges (wdEditorEveryone)

Application.ScreenUpdating = True

End Sub

It grants everyone permission to edit all tables (wdEditorEveryOne) which means it is not fullproof - if any other part of your has wdEditorEveryOne permission assigned it will be selected along with tables. So be careful when using this and backup your data.


Direct link Reply with quote
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

How can I select all of the text in Word tables in a document?

Advanced search






TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
WordFinder
The words you want Anywhere, Anytime

WordFinder is the market's fastest and easiest way of finding the right word, term, translation or synonym in one or more dictionaries. In our assortment you can choose among more than 120 dictionaries in 15 languages from leading publishers.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums