The information in this article applies to:
SYMPTOMS
When you type a response to an InputBox$(), ASK, or FILLIN field prompt,
pressing either the ENTER key (in Word for Windows) or the RETURN key (in
Word for the Macintosh) adds a new line to your response instead of closing
the window. In other words, the ENTER (Windows) and RETURN (Macintosh) keys
do not correspond to choosing the OK button.
CAUSEBy design, the functionality of the ENTER key (in Word for Windows) or the RETURN key (in Word for Macintosh) is different for the InputBox$(), ASK, and FILLIN field dialog boxes than in earlier versions of Word. This makes it easier to type multiple-line responses. WORKAROUND
Method 1:
MORE INFORMATION
When you press ENTER (in Word for Windows) in an InputBox$() dialog box,
Word inserts a newline character followed by a paragraph mark. When you
press RETURN (in Word for the Macintosh) in an InputBox$() dialog box, Word
inserts only a paragraph mark.
Additional query words: dismiss multi multiline doesn't work field input macword winword mswdfield
Keywords : kbinterop kbmacro kbole kbprint kbmacroexample word8 kbwordvba winword macword word6 winword2 word7 word95 macword5 |
Last Reviewed: October 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |