Word 2003: Value out of range

A

Axel Bender

Hi,

On some computers (either Word 2000 or Word 2003) the statement (Visual
FoxPro)

oTable.Columns(nColumn).Width = nWidth

leads to the following error

"OLE IDispatch exception code 0 from Microsoft Word: Value out of
range".

The property's value at the time of the error is "90,7500000" (German
locale). The value we try to assign is "105,750000000" (all numeric).
Sometimes, assigning the same value through the IDE yields no error,
sometimes assigning a string value instead of a numeric value helps.

On other machines (also Windows XP SP2) the problem does not occur. We
deinstalled/reinstalled Office on the computers showing the problem, but
to no avail.

Would appreciate any ideas!

thx

Axel
 

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