PC Review


Reply
Thread Tools Rate Thread

Delete-to-End-of File Command

 
 
Guest
Posts: n/a
 
      18th Jan 2005
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
 
Reply With Quote
 
 
 
 
Jay Freedman
Guest
Posts: n/a
 
      18th Jan 2005
On Mon, 17 Jan 2005 16:10:13 -0800,
<(E-Mail Removed)> 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
 
Reply With Quote
 
TF
Guest
Posts: n/a
 
      18th Jan 2005
Try Control+Shift+End to select from the cursor to the end of the document.

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

<(E-Mail Removed)> wrote in message
news:024801c4fcf2$150634f0$(E-Mail Removed)...
: 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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can I disable the delete command for a file Dr. Darrell Microsoft Excel Misc 5 1st Mar 2010 06:25 PM
Cannot delete file in Explorer; command line does not show the fil HJStern Windows XP General 5 2nd Jan 2009 10:16 AM
How to write command file to delete all files except two... standish22@hotmail.com Windows XP Help 1 25th Oct 2006 06:23 PM
How to delete a file from work command menu =?Utf-8?B?TGVvbmFyZA==?= Microsoft Word Document Management 1 23rd Aug 2006 01:49 PM
Why won't rundll batch file command delete printers? =?Utf-8?B?UGF0IEZ1cnJpZQ==?= Windows XP Print / Fax 1 29th Jun 2005 08:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:29 PM.