How to get MS Word templates directory for another user?
Posted
by Steve
on Stack Overflow
See other posts from Stack Overflow
or by Steve
Published on 2010-04-23T09:30:34Z
Indexed on
2010/04/23
9:33 UTC
Read the original article
Hit count: 193
I'm using the following code to get the path where Word stores its templates:
WordTemplatePath:=WordApp.Options.DefaultFilePath[$00000002];
The problem is that this returns the path for the actual, logged-in user.
Is there a way to get the path for another user of the same Windows instance?
I need it so my installer program can install the templates used by my program for other users as well.
© Stack Overflow or respective owner