Word 2007 Exception When Setting Password

C

ckapilla

I have a COM Add-in in beta test that throws an exception on two machines
(only) (so far) when attempting to set the password property.

I then tried to set the password in plain and simple VBA:

Application.ActiveDocument.Password="xxx"

on one of the machines which generates:

Error 4120 Bad Parameter

Can anyone offer some insights on what could cause this and how to correct
it? The fact that it happens on two different machines in two different
companies makes me wary that it could happen on more when we go to a wider
release.

TIA,

Chris K
 
C

ckapilla

I found the solution to this in a posting in another group:

The Word Options User Name is blank (or more accurately contains a single
blank character.) Typing in a real name solves this issue (and many more
apparently).
 

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