Word automation error

L

lvayn

Hi,
One of my users has his machine crashed and rebuilt. After that the VB6
application that used to run on this machine just fine produces an
automation error when executes this method of Word object:

objWord.ActiveDocument.PageSetup.LeftMargin = 30

Removing this line from the code eleminates the error. All related
references are fully qualified. Re-installing Office XP with SP3 had no
effect. No other application's users experience the same problem.

Hardware: Dell Latitude PIII
OS - XP Pro SP2, all recent MS patches.

Any ideas?

Thank you.
Leo
 

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