Getting Document1 not to close automatically

L

Larry

I wonder if it's possible to change the following built-in behavior of
Word 97. If unsaved Document1 is open and there are no changes in it,
then if an existing document it opened, Document1 is automatically
closed. This does not occur with Document2, Document3 etc., but only
with Document1, which is the document automatically created when Word is
opened.

Is it possible to change this behavior so that Document1 does not
automatically close when an existing document is opened?

Larry
 
J

Jonathan West

Hi Larry

Create an AutoExec macro in Normal.dot which inserts a single character in
Document1 and then deletes it.
 
L

Larry

I thought of one way of doing this. Start Word with the /n switch so
that it opens without Document1 being automatically created; but in the
AutoExec macro place a line of code to open a new document. This will
also be named Document1, but, because it hasn't been created
automatically by the opening of Word, it behaves like any other
document, i.e., it doesn't close if an existing document is opened.

Larry
 
L

Larry

It's simpler than I thought. It's not necessary to add the /n switch.
You simply need the AutoExec macro with the Documents.Add line.

For some reason, this does not result in two documents being created
when Word opens, but just one document named Document1, just like
normal. Yet this Document1 does not close if an existing document is
opened.

Thanks Jonathan for that suggestion which I'll also try out.

Larry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top