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: 20:07
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


 

Buck
Netherlands
Local time: 20:07
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


 

patyjs  Identity Verified
Mexico
Local time: 13:07
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


 

John Di Rico  Identity Verified
France
Local time: 20:07
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


 

Charlie Bavington (X)  Identity Verified
Local time: 19:07
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).


 

John Di Rico  Identity Verified
France
Local time: 20:07
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


 

Hynek Palatin  Identity Verified
Czech Republic
Local time: 20:07
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.


 

Luis Antonio de Larrauri  Identity Verified
Local time: 20:07
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]


 

Hynek Palatin  Identity Verified
Czech Republic
Local time: 20:07
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]


 

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

Thanks again, Hynek!

 
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.


 
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.


 


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






Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »
BaccS – Business Accounting Software
Modern desktop project management for freelance translators

BaccS makes it easy for translators to manage their projects, schedule tasks, create invoices, and view highly customizable reports. User-friendly, ProZ.com integration, community-driven development – a few reasons BaccS is trusted by translators!

More info »



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