Macro Error with CTRL+ENTER Key CombinationLast reviewed: November 2, 1994Article ID: Q66635 |
SUMMARYIf you use the key sequence CTRL+ENTER, which is used in charting to enter text on more than one line, a problem may occur when editing that line in a macro. Specifically, if you edit a text entry that has more than one line, the next select statement that doesn't select a multiline text entry will cause a macro error. The following is an example:
A 1 =SELECT("Title") 2 =SELECT("Text S2P3") 3 =RETURN()If "Title" was a two-line text entry such as "Microsoft Corporation"and "Text S2P3" was a one-line text entry such as "Point3", the macro above would produce an error when it gets to the second Select statement. Recording and running a macro like the one above will produce the same error. However, if "Text S2P3" was a two-line text entry, the macro would run without producing an error. Microsoft Excel for Windows version 3.00 works as expected and will generate no error of this type.
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |