C
Cathy D.
I'm using word 2002 and Windows 2000. I've created several HR forms a
templates in Word. I used AutoNew, AutoOpen, and AutoClose macros.
The AutoNew and AutoOpen macros clean up the forms when the user enter
by shutting off the gridlines (the form is a table behind the scenes)
bookmarks, hidden characters, and so on. Then, the AutoClose macr
turns these things back on, so when users go to create tables in othe
documents they will see their gridlines again and when they use some o
our other templates, they will be able to see their bookmarks, etc.
As long as we used these forms on our network or on laptop hard drives
everything was okay. But now our IT department wants to store thes
forms on the intranet instead. To do this, they can't be put out ther
as .dot files, instead they need to be .doc files, so when the user
save them to the network/hard drive, they save as documents and no
templates. The minute you save a template as a document, the Aut
macros will not work. They only work in templates.
So, I figured I would create a regular macro that shuts all of the sam
characters off and gridlines and have it fire on the first field of th
form. This works fine and cleans up the document when it opens, th
user doesn't even see what's going on it works so well. But th
problem is, I have no way to turn gridlines and hidden characters an
bookmarks back on when the person saves/closes the file. This is
problem because the users here won't understand what's going on if the
can't see their gridlines, etc. Plus, a couple of our templates us
bookmarked areas for people to fill things in, so I need the bookmark
to show again.
Any advice you can give me to deal with this problem would be very muc
appreciated. Thanks!
templates in Word. I used AutoNew, AutoOpen, and AutoClose macros.
The AutoNew and AutoOpen macros clean up the forms when the user enter
by shutting off the gridlines (the form is a table behind the scenes)
bookmarks, hidden characters, and so on. Then, the AutoClose macr
turns these things back on, so when users go to create tables in othe
documents they will see their gridlines again and when they use some o
our other templates, they will be able to see their bookmarks, etc.
As long as we used these forms on our network or on laptop hard drives
everything was okay. But now our IT department wants to store thes
forms on the intranet instead. To do this, they can't be put out ther
as .dot files, instead they need to be .doc files, so when the user
save them to the network/hard drive, they save as documents and no
templates. The minute you save a template as a document, the Aut
macros will not work. They only work in templates.
So, I figured I would create a regular macro that shuts all of the sam
characters off and gridlines and have it fire on the first field of th
form. This works fine and cleans up the document when it opens, th
user doesn't even see what's going on it works so well. But th
problem is, I have no way to turn gridlines and hidden characters an
bookmarks back on when the person saves/closes the file. This is
problem because the users here won't understand what's going on if the
can't see their gridlines, etc. Plus, a couple of our templates us
bookmarked areas for people to fill things in, so I need the bookmark
to show again.
Any advice you can give me to deal with this problem would be very muc
appreciated. Thanks!