Discussion:
Autonew
(too old to reply)
eric
2006-09-20 14:20:11 UTC
Permalink
I'd like to add a autonew sub without modifing normal.dot (ie I want to open
a dialog every time a user opens a new document, and would prefere not to
modify normal.dot since it concerns quite some users who all have there own
modifications).

Any ideas?

/e
Doug Robbins - Word MVP
2006-09-20 18:37:27 UTC
Permalink
What is the purpose of the autonew. It would be more normal for you to
create a template to be used when want whatever it is to happen.
--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
Post by eric
I'd like to add a autonew sub without modifing normal.dot (ie I want to open
a dialog every time a user opens a new document, and would prefere not to
modify normal.dot since it concerns quite some users who all have there own
modifications).
Any ideas?
/e
eric
2006-09-25 13:01:38 UTC
Permalink
I want to create a dialog from where you can select other templates. And I
want that dialog to open every time you select a new document.

/e
Post by Doug Robbins - Word MVP
What is the purpose of the autonew. It would be more normal for you to
create a template to be used when want whatever it is to happen.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Post by eric
I'd like to add a autonew sub without modifing normal.dot (ie I want to open
a dialog every time a user opens a new document, and would prefere not to
modify normal.dot since it concerns quite some users who all have there own
modifications).
Any ideas?
/e
Doug Robbins - Word MVP
2006-09-25 18:16:19 UTC
Permalink
Seems to me that the File>New dialog does that.

Dialogs(wdDialogFileNew).Show
--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
Post by eric
I want to create a dialog from where you can select other templates. And I
want that dialog to open every time you select a new document.
/e
Post by Doug Robbins - Word MVP
What is the purpose of the autonew. It would be more normal for you to
create a template to be used when want whatever it is to happen.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Post by eric
I'd like to add a autonew sub without modifing normal.dot (ie I want to open
a dialog every time a user opens a new document, and would prefere not to
modify normal.dot since it concerns quite some users who all have there own
modifications).
Any ideas?
/e
eric
2006-09-28 07:48:56 UTC
Permalink
Hi again!

Sorry If I'm not expressing myself good enough.

I have a customized dialog with customized settings from where I have a
bunch of templates I would like to choose from. I want that customized
dialog to open every time I open a new document without modifing normal.dot.
Is that possible?

Best
/e
Post by Doug Robbins - Word MVP
Seems to me that the File>New dialog does that.
Dialogs(wdDialogFileNew).Show
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Post by eric
I want to create a dialog from where you can select other templates. And I
want that dialog to open every time you select a new document.
/e
Post by Doug Robbins - Word MVP
What is the purpose of the autonew. It would be more normal for you to
create a template to be used when want whatever it is to happen.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Post by eric
I'd like to add a autonew sub without modifing normal.dot (ie I want to open
a dialog every time a user opens a new document, and would prefere not to
modify normal.dot since it concerns quite some users who all have there own
modifications).
Any ideas?
/e
Doug Robbins - Word MVP
2006-10-01 07:58:12 UTC
Permalink
Put the code that causes your dialog to be displayed in a macro called
FileNew that you create in a template that you store in the Word Startup
folder. That macro will then run in place of the Word File>New command.
--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
Post by eric
Hi again!
Sorry If I'm not expressing myself good enough.
I have a customized dialog with customized settings from where I have a
bunch of templates I would like to choose from. I want that customized
dialog to open every time I open a new document without modifing
normal.dot. Is that possible?
Best
/e
Post by Doug Robbins - Word MVP
Seems to me that the File>New dialog does that.
Dialogs(wdDialogFileNew).Show
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Post by eric
I want to create a dialog from where you can select other templates. And
I want that dialog to open every time you select a new document.
/e
Post by Doug Robbins - Word MVP
What is the purpose of the autonew. It would be more normal for you to
create a template to be used when want whatever it is to happen.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Post by eric
I'd like to add a autonew sub without modifing normal.dot (ie I want to open
a dialog every time a user opens a new document, and would prefere not to
modify normal.dot since it concerns quite some users who all have there own
modifications).
Any ideas?
/e
eric
2006-10-02 07:03:50 UTC
Permalink
Exactly what I was looking for! Many thanks!

:)

/e
Post by Doug Robbins - Word MVP
Put the code that causes your dialog to be displayed in a macro called
FileNew that you create in a template that you store in the Word Startup
folder. That macro will then run in place of the Word File>New command.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Post by eric
Hi again!
Sorry If I'm not expressing myself good enough.
I have a customized dialog with customized settings from where I have a
bunch of templates I would like to choose from. I want that customized
dialog to open every time I open a new document without modifing
normal.dot. Is that possible?
Best
/e
Post by Doug Robbins - Word MVP
Seems to me that the File>New dialog does that.
Dialogs(wdDialogFileNew).Show
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Post by eric
I want to create a dialog from where you can select other templates. And
I want that dialog to open every time you select a new document.
/e
Post by Doug Robbins - Word MVP
What is the purpose of the autonew. It would be more normal for you
to create a template to be used when want whatever it is to happen.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Post by eric
I'd like to add a autonew sub without modifing normal.dot (ie I want to open
a dialog every time a user opens a new document, and would prefere not to
modify normal.dot since it concerns quite some users who all have there own
modifications).
Any ideas?
/e
Jonathan West
2006-10-01 08:04:53 UTC
Permalink
Post by eric
Hi again!
Sorry If I'm not expressing myself good enough.
I have a customized dialog with customized settings from where I have a
bunch of templates I would like to choose from. I want that customized
dialog to open every time I open a new document without modifing
normal.dot. Is that possible?
Hi Eric

Yes you can do this.

Create a new template. Put your customized dialog into it.

Create two macros, called FileNew and FileNewDefault, each of which calls
your customized dialog.

Save the template, and move it to Word's Startup folder.

Next time you start Word, the template will be loaded as an add-in, and the
FileNew and FileNewDefault macros will override the built-in commands of the
same names.
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
eric
2006-10-02 07:03:58 UTC
Permalink
Exactly what I was looking for! Many thanks!

:)

/e
Post by Jonathan West
Post by eric
Hi again!
Sorry If I'm not expressing myself good enough.
I have a customized dialog with customized settings from where I have a
bunch of templates I would like to choose from. I want that customized
dialog to open every time I open a new document without modifing
normal.dot. Is that possible?
Hi Eric
Yes you can do this.
Create a new template. Put your customized dialog into it.
Create two macros, called FileNew and FileNewDefault, each of which calls
your customized dialog.
Save the template, and move it to Word's Startup folder.
Next time you start Word, the template will be loaded as an add-in, and
the FileNew and FileNewDefault macros will override the built-in commands
of the same names.
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Loading...