Didn’t know whether to put this here or in the Word forum. Guess you can figure out what one I chose……
Had an interesting challenge. A user (in Word97 SR2) was having compile errors pop up on her. However, when others performed the same task, no compile errors.
Finally this morning, I set my user templates path to her normal.dot, and the compile error appeared. I finally found where the problem was, it was with the Format function. The error stated that an improper number of parameters were being sent. When I looked at the helps for Format, all parameters except one were optional; and the command in the code contained at least one parameter.
What’s the problem????
I finally noticed that she had a NewMacros module in her normal. When I looked in it, I found a macro named, yup, you guessed it, Format–with NO parameters! Hence the error.
I remember some discussion about using a prefix, i.e., udf_, for macro names. This is a case where the need for either better macro naming on the user’s part or using udf_ wouldn’t have created the problem.
I have now sent out instructions to all our users to please use udf_ in front of macro names which they record.