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 / Excel / Setup / March 2008

Tip: Looking for answers? Try searching our database.

modify template

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nicolas29 - 12 Mar 2008 09:34 GMT
i know how to modify the template location on a single computer, but i wanted
do it on several computers

have someone a vbs script to do it ?

thanks
Signature

nt

nicolas29 - 12 Mar 2008 11:16 GMT
i was searching since a few days and finally after posting i found the solution

so i give you the code

On Error Resume Next
Const wdAutoRecoverPath = 5
Const wdBorderArtPath = 19
Const wdCurrentFolderPath = 14
Const wdDocumentsPath = 0
Const wdGraphicsFiltersPath = 10
Const wdPicturesPath = 1
Const wdProgramsPath = 9
Const wdProofingToolsPath = 12
Const wdStartupPath = 8
Const wdStyleGalleryPath = 15
Const wdTempFilesPath = 13
Const wdTextConvertersPath = 11
Const wdToolsPath = 6
Const wdTutorialPath = 7
Const wdUserOptionsPath = 4
Const wdUserTemplatesPath = 2
Const wdWorkgroupTemplatesPath = 3

Set objWord = CreateObject("Word.Application")
Set objOptions = objWord.Options
objOptions.DefaultFilePath(wdUserTemplatesPath) = "C:\testmodele3"
msgbox ("opération terminées")
objWord.Quit
Signature

nt

> i know how to modify the template location on a single computer, but i wanted
> do it on several computers
>
> have someone a vbs script to do it ?
>
> thanks

Rate this thread:






 
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.