TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: Word macro question HELP! From:Beth Friedman <bjf -at- WAVEFRONT -dot- COM> Date:Tue, 22 Jun 1999 13:51:22 -0500
At 01:33 PM 6/22/99 -0500, Julie Boskey wrote:
> A programmer I work with is having a tough time with a Word 95
> Below is his email explaining the problem. If anyone can give him
> advice about the problem or where he can find the answer, we
> appreciate it.
Tell your friend that he should name his macro FileSave, not AutoClose.
This macro will then replace the built-in Save command. If he's a
belt-and-suspenders type, he should do something similar to the
"FileSaveAs" command. If he does this, he might want to build an
escape hatch for himself, something like NewFileSave that will close
the file without running the macro that can only be accessed from the
Hope that helps!
> jboskey -at- wheels -dot- com
>______________________________ Forward Header
>Subject: Word macro question HELP!
>Author: Mike Gorgone at whq-mis
>Date: 6/22/99 1:20 PM
> I am currently trying to create a macro to validate data entries
> form. I want the macro to run when the user tries to save the
> If all the required fields have data, I want the save to
> If a required field does not have data, then I want the save to
> and the focus of the program to jump to the empty field.
> I currently have the macro working and I named it AutoClose to
> when the program shuts down. However there are two problems.
> 1) The user can select the save button and still save the form
> the incorrect data.
> 2) If the user tries to exit word or close the document the macro
> fires. The macro notifies the user there are empty fields the
> then gets the message to either save, not save or cancel the save
> I want the macro to fire during a save not when the program
> down or when the document is closed. Is there any way to do
> Any help would be appreciated, replies can be posted here or sent
> mgorgone -at- wheels -dot- com
>Send commands to listserv -at- listserv -dot- okstate -dot- edu (e.g., SIGNOFF
"UNIX is user friendly. It's just selective about who its friends are."
bjf -at- wavefront -dot- com