ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Run time error 5941 (https://www.excelbanter.com/excel-programming/320556-re-run-time-error-5941-a.html)

NickHK

Run time error 5941
 
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

"Ramon Nunez via OfficeKB.com" wrote in message
...
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").Resul t = strCltAddress

which creates the error.

--
Message posted via http://www.officekb.com





All times are GMT +1. The time now is 05:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com