Home |
Search |
Today's Posts |
#1
|
|||
|
|||
when converting text box to frame, data from main doc moves into f
I have a document that contains several dozen text boxes, in addition to the
main body of text. My goal is to extract the text box data, so I wrote a routine that converts the text boxes to frames, then copies the data in the frame and pastes it into the main body of the document, either beneath the paragraph or the table to which the text box/frame was anchored. This works fine 99% of the time, but sometimes it doesn't work because when the text box converts to a frame, the text of paragraph to which it's connected jumps into the frame. This doesn't just happen when I run through my code; I can also make it happen by going to the "Format" menu, choosing "Text Box," then going to the "Text Box" tab and clicking the "Convert to Frame" button. Just wondering if anyone has experienced this behavior, and if there's a way to solve it. I can provide a sample file if that would help. |
#2
|
|||
|
|||
FWIW, you should not need to copy the text from the frame and paste it. In
most cases you can remove the frame using the ResetPara command (Ctrl+Q). If the frame were part of the paragraph style (which it can't be in this case), you could still use remove frame. This will generally result in the included text being inserted above the paragraph to which the frame is anchored. -- 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. "Tony Logan" wrote in message ... I have a document that contains several dozen text boxes, in addition to the main body of text. My goal is to extract the text box data, so I wrote a routine that converts the text boxes to frames, then copies the data in the frame and pastes it into the main body of the document, either beneath the paragraph or the table to which the text box/frame was anchored. This works fine 99% of the time, but sometimes it doesn't work because when the text box converts to a frame, the text of paragraph to which it's connected jumps into the frame. This doesn't just happen when I run through my code; I can also make it happen by going to the "Format" menu, choosing "Text Box," then going to the "Text Box" tab and clicking the "Convert to Frame" button. Just wondering if anyone has experienced this behavior, and if there's a way to solve it. I can provide a sample file if that would help. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
My text box keeps copying data from a previous one? | Microsoft Word Help | |||
how to import data from a single-column text file to a multi-columntable? | Tables | |||
Text style in frame outside of margin | Microsoft Word Help | |||
AutoCaptions & Pictures in Word 2003 | Page Layout | |||
How do I keep merged data from advancing surrounding text in a fo. | Microsoft Word Help |