View Single Post
  #2   Report Post  
Jay Freedman
 
Posts: n/a
Default

On Mon, 17 Jan 2005 16:10:13 -0800,
wrote:

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".

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org