saban
10-11-2006, 05:59 AM
How can I update or overwrite template in startup folder using VBA
startdir = Application.Options.DefaultFilePath(wdStartupPath)
It is not a problem to copy template with a click on a button but the problem is if I want to overwrite existing template in STARTUP folder beacuse word is using it.
Any ideas how can I avoid this usage of certain template in startup? Is it possible to somehow write to the code that it should not use startup folder at time of overwriting
Thnx
And how can I use path with variable: i.e.
"\\DG7BLUXSNCF02\Users\name\Application (file://\\DG7BLUXSNCF02\Users\name\Application) Data\Microsoft\Word\STARTUP\Stetjebold.dot" _
).Installed = False
name = application.username
Any ideas
startdir = Application.Options.DefaultFilePath(wdStartupPath)
It is not a problem to copy template with a click on a button but the problem is if I want to overwrite existing template in STARTUP folder beacuse word is using it.
Any ideas how can I avoid this usage of certain template in startup? Is it possible to somehow write to the code that it should not use startup folder at time of overwriting
Thnx
And how can I use path with variable: i.e.
"\\DG7BLUXSNCF02\Users\name\Application (file://\\DG7BLUXSNCF02\Users\name\Application) Data\Microsoft\Word\STARTUP\Stetjebold.dot" _
).Installed = False
name = application.username
Any ideas