C
Cissy
Hi, thanks for your help.
I'm using Word XP. I have one line of code that works:
Options.DefaultFilePath(Path:=wdWorkgroupTemplatesPath) = "C:\Program
Files\Microsoft Office\Templates\IRTemplates"
and one that does not work:
Options.DefaultFilePath(Path:=wdUserTemplatesPath) =
"%Userprofile%\application data\microsoft\Templates"
I've checked the paths and all the folders are there. Is there any reason
why %Userprofile% shouldn't work? Thanks for your help
I'm using Word XP. I have one line of code that works:
Options.DefaultFilePath(Path:=wdWorkgroupTemplatesPath) = "C:\Program
Files\Microsoft Office\Templates\IRTemplates"
and one that does not work:
Options.DefaultFilePath(Path:=wdUserTemplatesPath) =
"%Userprofile%\application data\microsoft\Templates"
I've checked the paths and all the folders are there. Is there any reason
why %Userprofile% shouldn't work? Thanks for your help