Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Please look into Resize property in the VBA help.
Your code can be written like this. Range("A1").Offset(4, 1).Resize(1, 9).Copy Regards, Colo http://www.puremis.net/excel/ "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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Visual Basic Error Run Time Error, Type Mismatch | Excel Discussion (Misc queries) | |||
Run time error 1004, General ODBC error | New Users to Excel | |||
Befuddled with For Next Loop ------ Run - Time Error '13' Type Mismatch Error | Excel Programming | |||
Code Error - Run Time Error 5 (Disable Cut, Copy & Paste) | Excel Programming | |||
Run-time error '11' & Run-time error '1004' | Excel Programming |