A Microsoft Word forum. Microsoft Office Word Forum - WordBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

remove all text boxes



 
 
Thread Tools Display Modes
  #1  
Old April 29th 06, 03:41 AM posted to microsoft.public.word.newusers
external usenet poster
 
Posts: n/a
Default remove all text boxes

Is there a way to pull all text out of all text boxes and just have the
complete text of the document flowing without any text boxes.

I have a 350 page document with (guessing) something like 1000 text boxes
filled with text.


Ads
  #2  
Old April 29th 06, 04:10 AM posted to microsoft.public.word.newusers
external usenet poster
 
Posts: n/a
Default remove all text boxes

Alan,

Convert to text is no problem. A smooth flow may be problematic. See the
explaination by Jay Freedman below:
Sub ScratchMacro()
'Convert TextBoxes to plain text.
Dim oShp As Shape
Dim i As Integer
For Each oShp In ActiveDocument.Shapes
If oShp.Type = msoTextBox Then oShp.ConvertToFrame
Next oShp
For i = ActiveDocument.Frames.Count To 1 Step -1
With ActiveDocument.Frames(i)
.Borders.Enable = False
With .Shading
.Texture = wdTextureNone
.ForegroundPatternColor = wdColorAutomatic
.BackgroundPatternColor = wdColorAutomatic
End With
.Delete
End With
Next
End Sub


Jay says: Now the wrinkle... Every graphic object in Word's drawing layer
(e.g., a textbox) has an "anchor", a spot in the regular text to which it's
attached. (You can see the anchor symbol in the left margin of Page Layout
view if you go to Tools Options View and check "Object anchors", then
select a textbox or floating picture.) When you convert the textbox to a
frame and then delete the frame, the text inside gets dumped into the
regular text at the anchor position.


Good luck.

--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.


Alan Smithee Jr. wrote:
Is there a way to pull all text out of all text boxes and just have
the complete text of the document flowing without any text boxes.

I have a 350 page document with (guessing) something like 1000 text
boxes filled with text.



  #3  
Old April 29th 06, 04:10 AM posted to microsoft.public.word.newusers
external usenet poster
 
Posts: n/a
Default remove all text boxes

Did this document result from an OCR scan? If so, the "text boxes" may be
frames, in which case Ctrl+A, Ctrl+Q will likely remove them, but there's no
telling whether the text will be in the correct order.

If they're really text boxes, the easiest way is probably to convert them to
frames and then remove them in the same way. A macro would probably be the
best approach for doing that, but I don't know how to write it.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Alan Smithee Jr." wrote in message
...
Is there a way to pull all text out of all text boxes and just have the
complete text of the document flowing without any text boxes.

I have a 350 page document with (guessing) something like 1000 text boxes
filled with text.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you select text across multiple text boxes? Searcher77 Microsoft Word Help 1 February 9th 06 07:20 PM
Word applies direct format on File open Uriel Microsoft Word Help 16 November 27th 05 07:22 PM
Creating dynamic cross reference links in a Word document torajudo Microsoft Word Help 4 October 25th 05 03:51 PM
Word 2000 linked text boxes Ed Microsoft Word Help 0 September 20th 05 09:20 PM
A problem with text boxes and free space on the page [email protected] New Users 3 January 4th 05 09:39 PM


All times are GMT +1. The time now is 11:43 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2004-2020 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.