N
Nairda
Hi
I am updating some macros for customer use within Word 2007. Testing has
proven that the macros work fine with Word versions '97 thru 2003. Part of
the installation process uses FileCopy to copy .dot files to the default
Startup and Template directories;
D:\Documents and Settings\user_ID\Application Data\Microsoft\Word\STARTUP
and
D:\Documents and Settings\user_ID\Application Data\Microsoft\Templates
The problem is that when I run the macro, application control enters the
error handling and generates an error dialog stating that the template file
cannot be created due to issues with write access.
I assume that the security within Word 2007 is designed to prevent malware
from writing macros to these default locations despite these Trusted
Locations being enabled from within the Trust Center.
It would appear that the templates are created in these locations, but the
error message is still generated.
Is this a known issue or is there a workaround that will prevent the error
messages?
Many thanks for any assistance.
I am updating some macros for customer use within Word 2007. Testing has
proven that the macros work fine with Word versions '97 thru 2003. Part of
the installation process uses FileCopy to copy .dot files to the default
Startup and Template directories;
D:\Documents and Settings\user_ID\Application Data\Microsoft\Word\STARTUP
and
D:\Documents and Settings\user_ID\Application Data\Microsoft\Templates
The problem is that when I run the macro, application control enters the
error handling and generates an error dialog stating that the template file
cannot be created due to issues with write access.
I assume that the security within Word 2007 is designed to prevent malware
from writing macros to these default locations despite these Trusted
Locations being enabled from within the Trust Center.
It would appear that the templates are created in these locations, but the
error message is still generated.
Is this a known issue or is there a workaround that will prevent the error
messages?
Many thanks for any assistance.