Word Macro

  • From: "Gary King" <w4wkz@xxxxxxxx>
  • To: <jfw@xxxxxxxxxxxxx>
  • Date: Sun, 5 Aug 2007 11:50:43 -0500

I am editing a file in MS Word with a macro that searches for a string of text 
and then selects and deletes the line on which the text is located.  This macro 
was done by just recording keystrokes.  Unfortunately, it doesn't know when to 
stop.  It needs an "if then else" statement to tell it not to delete a line if 
the string is not found.  It would also be nice to be notified that the macro 
finished without deleting anything.  If anyone is familiar with the MS Word 
macro language, a little help would be appreciated.

If I can't get my Word macro to behave itself, I can resort to a JAWS script 
that issues the Word Find command, tests for a particular character under the 
cursor and then issues either the appropriate editing commands to Word or plays 
a sound if the character is not present.  I'd rather take the Word macro 
approach though since it just means doing a little editing of the macro.

Gary King
w4wkz@xxxxxxxx

Gary King
mailto:w4wkz@xxxxxxxx

Other related posts: