I have a piece of VBA code for MS Word as follows:
selection.Range.InsertFile ("localfilepath")

I am getting the error, "Run-time Error 4198 - Command Failed" while executing it in the MS WORD 2000. Click debug and then Select Run>Run Sub/Userform. It inserts very well.
The observation is that it fails for the first time and then it inserts any number files/any number of times.

The same piece of code works perfectly in MS Word XP/2002.

Please help me out of this problem.