Remove all frames from document

M

MT

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
 
K

Klaus Linke

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top