Mobile menu

How to detect textboxes in a Word-file?
Thread poster: Heinrich Pesch

Heinrich Pesch  Identity Verified
Finland
Local time: 04:11
Member (2003)
Finnish to German
+ ...
Jan 16, 2007

In long documents it is not very easy to locate possible textboxes by viewing each page seperately. Is there a function in Word that would find textboxes?
Regards
Heinrich


Direct link Reply with quote
 

Antoní­n Otáhal
Local time: 03:11
Member (2005)
English to Czech
+ ...
VBA code counting textboxes Jan 16, 2007

Sub CountTextBoxes()

ck = 0

For Each sp In ActiveDocument.Shapes

If Not (IsNull(sp.TextFrame)) Then
ck = ck + 1
End If
Next sp

MsgBox ("Number of textboxes in the document is " & ck)

End Sub


HTH
Antonin

With a little more work you can count them in sections, etc.


Direct link Reply with quote
 
Ken Cox  Identity Verified
Local time: 03:11
German to English
+ ...
cheap and dirty solution Jan 16, 2007

Do 'Select all' (Ctrl A) on the document and then scroll through the document. The 'normal' text will be shaded, but the text boxes will not be shaded.

Useful for relatively short documents.


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 to detect textboxes in a Word-file?

Advanced search






LSP.expert
You’re a freelance translator? LSP.expert helps you manage your daily translation jobs. It’s easy, fast and secure.

How about you start tracking translation jobs and sending invoices in minutes? You can also manage your clients and generate reports about your business activities. So you always keep a clear view on your planning, AND you get a free 30 day trial period!

More info »
PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »



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