Knowledge Base

XL98: Formula Returns Incorrect Value When Changed by a Macro

Article ID: 178410

Article Last Modified on 9/11/2002


APPLIES TO


This article was previously published under Q178410

SYMPTOMS

When you use a Microsoft Visual Basic for Applications macro to manipulate a formula, the formula is truncated and the value that is returned by the formula is incorrect.

CAUSE

This problem occurs when the following conditions are true:

  • You use a macro to copy or change a formula. -and-

  • The formula contains more than approximately 1,016 characters. The exact number may change depending on the complexity and number of references in the formula.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: XL98 chop cutoff clip wrong

Keywords: kbbug kbprogramming kbpending KB178410