View Single Post
  #4   Report Post  
Charles Kenyon
 
Posts: n/a
Default

First, don't put the macro in normal.dot. Put it in a custom global
template. Put that template in the startup folder for system. To find out or
assign that folder, open Word as SYSTEM and check under Tools Options
File Locations for the startup folder. BTW, you can use the same method to
find the user templates folder, which is where normal.dot would be stored.
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Ben Wylie" wrote in message
...
Thanks for the reply.
This is the situation:
I run my own internal mail server on our network.
What i am setting up is a system where if you email a particular address,
the mail server recognises it, extracts attachments from the email, opens
any .doc files and converts them to .htm files and sticks them onto my
webpage.
I have set everything up, so i have the extracted .doc file and ready to
use
a macro to convert it, but I don't know where to put the Macro.

The user I log on as is Administrator, but my Mailserver is running as
System. So anything it does is as System, and that includes running Word
and
converting files. The question is, what Normal.dot file will word use if
it
is SYSTEM which is running it? There is no documents and settings folder
for
SYSTEM.

Will it just use the same one for Administrator?

Thanks
Ben


"Doug Robbins" wrote in message
...
Not sure what you mean by "system account" but it will be the one in the
user templates location defined under ToolsOptionsFile Locations. By
default that would be C:\Documents and Settings\[User Name]\Application
Data\Microsoft\Templates, but it could have been changed.

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a

paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
"Ben Wylie" wrote in message
...
Which Normal.dot file will the system account use?

Thanks
Ben