VBA Error Message after new installation <Method X für Object Y failed>

P

Paul_

I have re-installed Word (2000. Before my macros worked okay. Now I get
the error message something like <The method 'PrivateprofileString' for
the Object 'System' failed.>

Have I missed something?
Many thanks for a tip.
Paul
 
P

Paul_

Paul_ said:
I have re-installed Word (2000. Before my macros worked okay. Now I get
the error message something like <The method 'PrivateprofileString' for
the Object 'System' failed.>

Have I missed something?
Many thanks for a tip.
Paul
This message was caused by VBA having the wrong path for a variable.
This was caused by changing from W2K to XP.
A destination in W2K like
<\\server\drive> changes to
<\\server\drive (e)>
in XP. XP adds the empty space + brackets and drive letter.

Now the macros are back.
Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top