WD98: Error with Missing FormField Bookmark NamesLast reviewed: February 16, 1998Article ID: Q181069 |
The information in this article applies to:
SYMPTOMSWhen you attempt to access a form field using Visual Basic for Applications commands and the bookmark name for the form field is missing, you may receive the following error message:
Run-time error: "-2147467259" Method Name of Object FormField Failed CAUSEWhen you copy and paste a form field to a different location, a new form field will be created. This new form field will not have a bookmark name.
WORKAROUNDMake sure each form field in the active document contains a valid bookmark name. To enter a bookmark name for a form field, follow these steps:
Any characters whose ASCII value is less than 29 and greater than 127. Characters listed in the following table. Character ASCII code Character ASCII code Character ASCII code ------------------------------------------------------------------------ - Chr(30) <Space> Chr(32) ! Chr(33) " Chr(34) # Chr(35) $ Chr(36) % Chr(37) & Chr(38) ' Chr(39) ( Chr(40) ) Chr(41) * Chr(42) + Chr(43) , Chr(44) - Chr(45) . Chr(46) / Chr(47) : Chr(58) ; Chr(59) < Chr(60) = Chr(61) > Chr(62) ? Chr(63) @ Chr(64) [ Chr(91) \ Chr(92) ] Chr(93) ^ Chr(94) ` Chr(96) { Chr(123) | Chr(124) } Chr(125) ~ Chr(126) STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
REFERENCESFor more information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q163435 TITLE : VBA: Programming Resources for Visual Basic for Applications |
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |