Run time error 5941

  • Thread starter Thread starter Ramon Nunez via OfficeKB.com
  • Start date Start date
R

Ramon Nunez via OfficeKB.com

I create a form in office 2000 which run fine, but when user open it on office 97, I got the message:
run-time error 5941
the requested member of the collection does not exist.

On the form I populate some formfields with data inserted by user.
Any ideas why the forms works fine on office 2000 or XP but not on 97.

The way I assign values to formfiels is like this:
Dim strCltAddress As String
strCltAddress = frmUserInfo.txtAddress.Text
ActiveDocument.FormFields("ClaimantAddress").Result = strCltAddress

which creates the error.
 
Ramon,
Office 2K VBA Object Browser, returns No Items Found for "FormFields".
After some hunting, I found FormFields in Word.
So is this anything to do with Excel ?

NickHK
 

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

Back
Top