Mobile menu

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

Heinrich Pesch  Identity Verified
Local time: 21:16
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?

Direct link Reply with quote

Antoní­n Otáhal
Local time: 20:16
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


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

Direct link Reply with quote
Ken Cox  Identity Verified
Local time: 20:16
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

Translators like you are producing higher quality translations faster with Lilt!

After years of research at Stanford University, Lilt has introduced a revolutionary new tool that will change the way you translate. Lilt learns how you translate to give you more personalized suggestions. Be more productive today! Use it FOR FREE!

More info »
SDL MultiTerm 2015
Guarantee a unified, consistent and high-quality translation with terminology software.

SDL MultiTerm 2015 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2015 you can automatically create term lists from your existing documentation to save time.

More info »

All of
  • All of
  • Term search
  • Jobs