This site uses cookies.
Some of these cookies are essential to the operation of the site,
while others help to improve your experience by providing insights into how the site is being used.
For more information, please see the ProZ.com privacy policy.
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
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
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.
Exclusive discount for ProZ.com users!
Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value