What do you consider to be 'available'? Any .dot file which exists on the
server? Or what?
--
Enjoy,
Tony
> Newbie question so apologies up front !
>
> In Word 2003 i need a bit of vba to show me a list of available templates
> sited on our server.
Glenn Rose-Ward - 29 Nov 2005 13:59 GMT
Need to point it a different folders and show just .dot's
but just to get it to show me the .dot's would be good :)
Regards
Glenn
> What do you consider to be 'available'? Any .dot file which exists on the
> server? Or what?
[quoted text clipped - 7 lines]
>> In Word 2003 i need a bit of vba to show me a list of available templates
>> sited on our server.
Look into File > New > On my computer
The vba for this is
Application.Dialogs(wdDialogFileNew).Show
This assumes that you have set the workgroup templates folder location to
your folder. For more on the different kinds of templates, tabs on the file
new dialog, and locations of templates folders see
http://addbalance.com/usersguide/templates.htm.

Signature
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://word.mvps.org/FAQs/ 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.
> Newbie question so apologies up front !
>
> In Word 2003 i need a bit of vba to show me a list of available templates
> sited on our server.
> Newbie question so apologies up front !
>
> In Word 2003 i need a bit of vba to show me a list of available templates
> sited on our server.
The following article shows you how to process a batch of documents
Find & ReplaceAll on a batch of documents in the same folder
http://www.word.mvps.org/FAQs/MacrosVBA/BatchFR.htm
From that you can easily extract the code necessary merely to list them.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Tried that and it works but how then do i set the Files of type to ensure
that it shows .dot's only !
And thanks for the help btw
Glenn
> Newbie question so apologies up front !
>
> In Word 2003 i need a bit of vba to show me a list of available templates
> sited on our server.
Glenn Rose-Ward - 30 Nov 2005 11:06 GMT
The actual dialog box i want to display is the Templates one & not the
FileOpen dialog, the one with the tabs for template group selection.
I can't see it listed in the Document "Built In Dialog Box Arguments"
Regards
Glenn
> Tried that and it works but how then do i set the Files of type to ensure
> that it shows .dot's only !
[quoted text clipped - 7 lines]
>> In Word 2003 i need a bit of vba to show me a list of available templates
>> sited on our server.
Glenn Rose-Ward - 30 Nov 2005 11:22 GMT
Before you ask i'm on SP2
> Tried that and it works but how then do i set the Files of type to ensure
> that it shows .dot's only !
[quoted text clipped - 7 lines]
>> In Word 2003 i need a bit of vba to show me a list of available templates
>> sited on our server.
Jonathan West - 30 Nov 2005 12:19 GMT
Hi Glenn,
There have been several replies to your original post. Unfortunately you
have given us no clue as to which approach you have tried, so nobody knows
who should reply, or to what.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
> Tried that and it works but how then do i set the Files of type to ensure
> that it shows .dot's only !
[quoted text clipped - 7 lines]
>> In Word 2003 i need a bit of vba to show me a list of available templates
>> sited on our server.