Delete-to-End-of File Command

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Many pre-Windows word processors and editors came with a
very convenient command that let the user delete text
from the current point of the cursor to the end of the
file. M/S Word never put this feature in. What an
oversight!

Another nice thing M/W Windows denies users is the
abililty to Find one or more words in a line. Some CP/M
utilities did this.

Are there such supplementary applications or programs
for Windows users? Thanks.

JLoui
 
Many pre-Windows word processors and editors came with a
very convenient command that let the user delete text
from the current point of the cursor to the end of the
file. M/S Word never put this feature in. What an
oversight!

Another nice thing M/W Windows denies users is the
abililty to Find one or more words in a line. Some CP/M
utilities did this.

Are there such supplementary applications or programs
for Windows users? Thanks.

JLoui

Hi JLoui

The Delete to End of Document command can be created as the following
macro (see http://www.gmayor.com/installing_macro.htm) and assigned to
a keystroke:

Public Sub DeleteToEndOfDoc()
Dim oRg As Range
Set oRg = Selection.Range
oRg.End = ActiveDocument.Range.End
oRg.Delete
Set oRg = Nothing
End Sub

You could use a wildcard search
(http://www.gmayor.com/replace_using_wildcards.htm) to find words in
the same paragraph. (Word doesn't really know what line things are in,
because layout is done on the fly.) For example, to find "fox" and
"dog" in the same paragraph, check the "Use wildcards" box in the Find
dialog and use the Find expression
fox[!^13]@Dog
The portion between the words is interpreted as "one or more
characters that are not paragraph marks".
 
Try Control+Shift+End to select from the cursor to the end of the document.

--
Terry Farrell - Word MVP
http://word.mvps.org/

: Many pre-Windows word processors and editors came with a
: very convenient command that let the user delete text
: from the current point of the cursor to the end of the
: file. M/S Word never put this feature in. What an
: oversight!
:
: Another nice thing M/W Windows denies users is the
: abililty to Find one or more words in a line. Some CP/M
: utilities did this.
:
: Are there such supplementary applications or programs
: for Windows users? Thanks.
:
: JLoui
 
Back
Top