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

Heinrich Pesch  Identity Verified
Finland
Local time: 18:20
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: 17:20
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: 17:20
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






Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »
PDF Translation - the Easy Way
TransPDF converts your PDFs to XLIFF ready for professional translation.

TransPDF converts your PDFs to XLIFF ready for professional translation. It also puts your translations back into the PDF to make new PDFs. Quicker and more accurate than hand-editing PDF. Includes free use of Infix PDF Editor with your translated PDFs.

More info »



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