Microsoft Word Suite
344
Command: swap with footnotes
Converts all endnotes in a document to footnotes and vice versa.
Note To convert a range of endnotes to footnotes, use the endnote convert command.
Syntax
swap with footnotes endnote options Required. An expression that returns an endnote options
object.
Command: toggle portrait
Switches between portrait and landscape page orientations for a document or section.
Syntax
toggle portrait page setup Required. An expression that returns a page setup object.
Remarks
If the specified sections have different page orientations, an error occurs.
Example
This example changes the page orientation for the active document.
toggle portrait page setup of active document
This example changes the page orientation for all the sections in the selection. If the initial
orientation of each section is not the same as the orientation of the other sections, an error occurs.
toggle portrait page setup of selection
Command: type backspace
Deletes the character preceding a collapsed selection (an insertion point). If the selection isn't
collapsed to an insertion point, the selection is deleted.
Note This method corresponds to the functionality of the BACKSPACE key.
Syntax
type backspace selection object Required. An expression that returns a selection object.
Example
This example deletes the character preceding the insertion point (the collapsed selection).
collapse range text object of selection direction collapse end
type backspace selection
Command: type paragraph
Inserts a new, blank paragraph. If the selection isn't collapsed to an insertion point, it's replaced by
the new paragraph.
Note This method corresponds to the functionality of the ENTER key.
Syntax
type paragraph selection object Required. An expression that returns a selection object.