Dialog Editor Removes Subscript Numbers from ArrayLast reviewed: July 30, 1997Article ID: Q105820 |
The information in this article applies to:
SYMPTOMSIf you copy a WordBasic dialog box definition that contains an array and paste it in the Word Dialog Editor, the subscript numbers in the array are missing when you paste the dialog definition back in your macro.
CAUSEThe Word Dialog Editor does not recognize the subscript numbers (also referred to as index numbers) in an array, so it removes them. When you paste the dialog definition back into your macro, you must manually add the subscripts back to the array.
STATUSMicrosoft has confirmed this to be a problem in the Word Dialog Editor supplied with Word version 6.0 for Windows and Word version 7.0 for Windows 95. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONFor example, you can copy the following dialog box definition and paste it in Word Dialog Editor:
Begin Dialog UserDialog 727, 191, "Test" OptionGroup .OptionGroup1 OptionButton 21, 28, 112, 16, option$(0) OptionButton 21, 45, 112, 16, option$(1) OptionButton 21, 62, 112, 16, option$(2) End DialogIf you copy the resulting dialog box and paste it back into your Word for Windows macro, it appears as follows (the subscript numbers in each identifier are missing):
Begin Dialog UserDialog 727, 191, "Test" OptionGroup .OptionGroup1 OptionButton 21, 28, 112, 16, option$ OptionButton 21, 45, 112, 16, option$ OptionButton 21, 62, 112, 16, option$ End DialogKbcategory: kbusage kbmacro KBSubcategory: |
Additional query words: 6.0 control arrays number element word6
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |