Microsoft Knowledge Base |
|
"Parenthesis do not Match" Error with FORMULA.REPLACE() |
|
|
Last reviewed: September 12, 1996
Article ID: Q109674 |
|
The information in this article applies to:
SUMMARYIn Microsoft Excel versions 4.0 and later, when you run a recorded a macro that uses the FORMULA.REPLACE() macro function, you may receive the "Parentheses do not match" error message.
MORE INFORMATIONIn Microsoft Excel versions 4.0 and later, if you forget to include the final closing parenthesis in a worksheet formula, Microsoft Excel automatically inserts one for you. If you record a macro that uses the FORMULA.REPLACE() function to change a text string to a formula, you may receive a macro error when Microsoft Excel adds this missing closing parenthesis. For example, when you record a macro to change the text string "*=SUM($A$1:$A$2" to a formula by replacing "*=" with "=" (without the quotation marks), the formula is converted to =SUM($A$1:$A$2). When you run the recorded macro, you receive the "Parentheses do not match" error message.
Steps to Reproduce Problem
REFERENCES"Function Reference," version 4.0, page 174
|
|
KBCategory: kbusage
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |