Z
zSplash
In Word 2k, the following code successfully "set" the default filepath:
Options.DefaultFilePath(Path:=wdUserTemplatesPath)="C:\Documents and
Settings\username\Application Data\Microsoft\Templates"
Now, in Word XP, this code results in an error:
Run-time error 4101
Illegal function call
If I use the macro recorder, to "set" the same path, I am unsuccessful
(won't let me select this folder), but if I use the macro recorder to "set"
the path to "C:\" , I am successful, and then g0don't get the error on
running the sub. Is there some different kind of permissions structure for
XP files for my chosen filepath in XP, or else what's the deal, guys?
TIA
Options.DefaultFilePath(Path:=wdUserTemplatesPath)="C:\Documents and
Settings\username\Application Data\Microsoft\Templates"
Now, in Word XP, this code results in an error:
Run-time error 4101
Illegal function call
If I use the macro recorder, to "set" the same path, I am unsuccessful
(won't let me select this folder), but if I use the macro recorder to "set"
the path to "C:\" , I am successful, and then g0don't get the error on
running the sub. Is there some different kind of permissions structure for
XP files for my chosen filepath in XP, or else what's the deal, guys?
TIA