Would you like to react to this message? Create an account in a few clicks or log in to continue.

Fast way to Delete Microsoft Word Page

Go down

Fast way to Delete Microsoft Word Page Empty Fast way to Delete Microsoft Word Page

Post by Admin Sat Nov 24, 2007 1:49 pm

Open Visual Basic Editor (VBE)from your Microsoft Word "Tools | Macro". Make a new module from "Insert | Module"

Insert this code Code:
Sub Delete_Page()
ctiveDocument.Bookmarks("\Page").Range.Delete
End Sub

Run "Debug | Compile Project". Close your VBE & back to your document. For the next step, open "Tools | Macro | macros". Choose "Delete Page" option & click also "Organizer". Go to "Macro Project item" tab & copy "Module1" to "Normal1.Dot" Click OK to confirm. Now open "Tools | Customize" Go to "Commands" tab. On Categories section, click option "Macros". Next in "Commands" drag "Normal.Module1.Delete Page" into empty menubar. Right click your new button that you just made to change the name & the icon as well.
Admin
Admin
Admin

Number of posts : 137
Age : 40
Registration date : 2007-03-11

https://rulerz.niceboard.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum