Excel: OK Button in Dialog Box Does Not Return a "True" ValueLast reviewed: November 2, 1994Article ID: Q64657 |
SUMMARYPage 174 of the "Microsoft Excel Functions and Macros" version 2.2 manual incorrectly states that when an OK button is clicked in a custom dialog box, a value of "True" is returned to the macro sheet. Clicking an OK button actually returns a number value to the macro sheet. The number is equal to the position of the OK button in relation to all other items in the Item Number column of the dialog box definition table. For example, if there are seven different items in the Item Number column of the dialog box definition table and the OK button is the fifth in the list, clicking the OK button will return a 5 to the cell on the macro sheet containing the DIALOG.BOX function.
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |