Smart way to delete a page in Ms Word!!!
Thread poster: Hans Lenting
Hans Lenting
Hans Lenting
Netherlands
Member (2006)
German to Dutch
Jan 9

There is no page object in Word's VBA. However, you can still create a macro to delete the current page.

Click anywhere in the page you want to delete, then press Option+⌘+G on your keyboard. From there, the steps are the same: In that “Enter page number” box, type in “\page.” Hit Enter, select “Close,” check that the page in question is selected, and hit the Delete button on your keyboard.

This can be used to create a macro that deletes the current page w
... See more
There is no page object in Word's VBA. However, you can still create a macro to delete the current page.

Click anywhere in the page you want to delete, then press Option+⌘+G on your keyboard. From there, the steps are the same: In that “Enter page number” box, type in “\page.” Hit Enter, select “Close,” check that the page in question is selected, and hit the Delete button on your keyboard.

This can be used to create a macro that deletes the current page with one keystroke:

Sub DeleteCurrentPage()
Selection.GoTo What:=wdGoToBookmark, Name:="\page"
Selection.Delete
End Sub
Collapse


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Smart way to delete a page in Ms Word!!!






TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »