M
Marceepoo
A Word template located in the User's Startup folder repeatedly loses
references to DLLs. This causes macros to fail to run, and to generate the
following dialogue box error message: "Compile error: Can't find project or
library". For example, when the ("Compile error:...") dialog box error
message appears, the word "Left" is highlighted on the following line:
strPathTest = Left(strPathDoc, 8)
Each time this occurs, I have to open VBA, click on tools, references, and
then tried to figure out which DLL file got disconnected this time.
Does this mean that the template is corrupt?
What causes this? Is there a way to prevent it from happening?
Should copy all the macros into a new template, and export all the forms
from the old template and copy them into the new template?
Does anyone have any suggestions?
Thanks for any help. Marceepoo
references to DLLs. This causes macros to fail to run, and to generate the
following dialogue box error message: "Compile error: Can't find project or
library". For example, when the ("Compile error:...") dialog box error
message appears, the word "Left" is highlighted on the following line:
strPathTest = Left(strPathDoc, 8)
Each time this occurs, I have to open VBA, click on tools, references, and
then tried to figure out which DLL file got disconnected this time.
Does this mean that the template is corrupt?
What causes this? Is there a way to prevent it from happening?
Should copy all the macros into a new template, and export all the forms
from the old template and copy them into the new template?
Does anyone have any suggestions?
Thanks for any help. Marceepoo