Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Remove all frames from document

241 views
Skip to first unread message

MT

unread,
Jun 27, 2003, 2:42:15 PM6/27/03
to
Hi,

In Word 95 there use to be an option to remove all the frames from a
document. I can't find this feature in Word 2000 or Word XP. Is it still
there as at the moment I'm having to copy all the text out of a frame and
pasting it into a new document which takes ages!

Thanks
Mark


Suzanne S. Barnhill

unread,
Jun 27, 2003, 5:02:05 PM6/27/03
to
If the frame is not part of the paragraph style (which is highly unlikely),
Select All (Ctrl+A) and ResetPara (Ctrl+Q). This will remove the frames. Or
you could use the macro Graham Mayor posted earlier in that regard:

> ActiveDocument.Frames.Delete
>
> see http://www.gmayor.dsl.pipex.com/installing_macro.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word

"MT" <post...@netware6.net> wrote in message
news:bdi365$904$1...@hercules.btinternet.com...

MT

unread,
Jun 29, 2003, 12:43:02 PM6/29/03
to
Suzanne,

Thanks but using Ctrl+A and Ctrl+Q doesnt seem to do anything .. the frames
are still there. I have also pasted the line into a macro as per Graham's
instructions but that doesnt do anything either.

I still cant seem to work out how to delete all the frames in a document and
retain the text. I can delete frames individually losing the text within
them but thats it with Word 2000 and Word XP. As I said in my original post
I can do this with Word 95 but cant find the option to do it in the new
versions.

Thanks
Mark


"Suzanne S. Barnhill" <sbar...@mvps.org> wrote in message
news:OnC5R$OPDHA...@tk2msftngp13.phx.gbl...

MT

unread,
Jun 30, 2003, 2:53:48 PM6/30/03
to

MT

unread,
Jun 30, 2003, 3:11:16 PM6/30/03
to

Suzanne S. Barnhill

unread,
Jun 30, 2003, 3:07:42 PM6/30/03
to
Are you sure they're frames and not text boxes?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word

"MT" <post...@netware6.net> wrote in message

news:bdq0vq$28$1...@sparta.btinternet.com...

MT

unread,
Jun 30, 2003, 4:00:18 PM6/30/03
to
I tried on a blank document and use the frames tool added a couple of
frames - but still no luck.

"Suzanne S. Barnhill" <sbar...@mvps.org> wrote in message

news:ORZsZzzP...@TK2MSFTNGP11.phx.gbl...

Klaus Linke

unread,
Jun 30, 2003, 8:53:59 PM6/30/03
to
Hi MT,

Do you remember how you did it in Word95? Usually, Word doesn't loose any
functionality in newer versions.

You might try the following macro:
Dim i As Integer
For i = 1 To ActiveDocument.Frames.Count
ActiveDocument.Frames(1).Range.Select
Selection.Cut
ActiveDocument.Frames(1).Delete
Selection.Paste
Next i

But since you said that Graham's macro did "nothing", I doubt you have
frames at all...

Klaus

Klaus Linke

unread,
Jun 30, 2003, 9:11:17 PM6/30/03
to
"MT" <post...@netware6.net> wrote:
> I tried on a blank document and use the frames tool added a
> couple of frames - but still no luck.


Hi MT,

Do you perhaps mean a HTML frameset (Menu "Format > Frames")?
I don't think they were available in Word95, and have never used them.

You might try to open the HTML file as a text file and delete all the
<FRAMESET...> and <FRAME ...> tags; or you could copy/paste the contents of
the frames into a new document.

I know of no one-step method to get rid of them (while keeping the text),
though perhaps someone in a vba newsgroup could write a macro to do the
job.

Regards,
Klaus

0 new messages