2. Make sure "Microsoft Office Click-to-Run" service is running.
Showing posts with label office. Show all posts
Showing posts with label office. Show all posts
Thursday, October 29, 2015
Wednesday, February 4, 2015
How to remove all frames from document in Microsoft Word with VBA code
1. Press Alt + F11 to open Visual Basic window.
2. Go to Insert -> Module
3. Paste the following code in the window appearing:
4. Click the Run button or press F5.
2. Go to Insert -> Module
3. Paste the following code in the window appearing:
Sub RemoveFrames()
Dim frm As Frame
For Each frm In ActiveDocument.Frames
frm.Delete
Next frm
End Sub4. Click the Run button or press F5.
Subscribe to:
Posts (Atom)