![]() |
#1
|
|||
|
|||
![]()
If the document contain 0 frames to skip otherwise need to convert frames. Is the code is correct.
Sub RemoveAllFramesInDoc() Dim objFrame As Frame Dim nFrame As Long Application.ScreenUpdating = False nFrame = ActiveDocument.Frames.Count For Each objFrame In ActiveDocument.Frames If nFrame = 0 Then End If objFrame.Delete Next objFrame Application.ScreenUpdating = True End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Keyline Frames | LesleyFromRicky | Publisher | 0 | 09-29-2019 01:39 AM |
![]() |
AustinBrister | Word VBA | 8 | 05-28-2015 02:42 PM |
Frames, Frames, Frames: How to eliminate them but keep the text? | Dakota | Word | 8 | 02-09-2014 01:07 AM |
My plain text post got converted to rich text in a reply, how to convert it back? | david.karr | Outlook | 0 | 01-05-2012 09:46 AM |
asp and frames HELP | fatooma | Misc | 0 | 04-04-2006 01:04 PM |