Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2006

Tip: Looking for answers? Try searching our database.

Autonew

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
eric - 20 Sep 2006 15:20 GMT
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 - 20 Sep 2006 19:37 GMT
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.

Signature

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

> I'd like to add a autonew sub without modifing normal.dot (ie I want to
> open
[quoted text clipped - 6 lines]
>
> /e
eric - 25 Sep 2006 14:01 GMT
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

> 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.
[quoted text clipped - 9 lines]
>>
>> /e
Doug Robbins - Word MVP - 25 Sep 2006 19:16 GMT
Seems to me that the File>New dialog does that.

Dialogs(wdDialogFileNew).Show

Signature

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

>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.
[quoted text clipped - 15 lines]
>>>
>>> /e
eric - 28 Sep 2006 08:48 GMT
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

> Seems to me that the File>New dialog does that.
>
[quoted text clipped - 19 lines]
>>>>
>>>> /e
Doug Robbins - Word MVP - 01 Oct 2006 08:58 GMT
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.

Signature

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

> Hi again!
>
[quoted text clipped - 31 lines]
>>>>>
>>>>> /e
eric - 02 Oct 2006 08:03 GMT
Exactly what I was looking for! Many thanks!

:)

/e
> 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
[quoted text clipped - 35 lines]
>>>>>>
>>>>>> /e
Jonathan West - 01 Oct 2006 09:04 GMT
> Hi again!
>
[quoted text clipped - 4 lines]
> 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.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup

eric - 02 Oct 2006 08:03 GMT
Exactly what I was looking for! Many thanks!

:)

/e

>> Hi again!
>>
[quoted text clipped - 19 lines]
> the FileNew and FileNewDefault macros will override the built-in commands
> of the same names.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.