Article ID: 186765
Article Last Modified on 8/17/2005
APPLIES TO
- Microsoft Excel 97 Standard Edition
- Microsoft Excel 95 Standard Edition
- Microsoft Excel 5.0 Standard Edition
This article was previously published under Q186765
SYMPTOMS
When you open a file that was saved in the Lotus 1-2-3(.wk3) format in
Microsoft Excel 7.0 or Microsoft Excel 97, a Microsoft Visual Basic for
Applications subroutine may return False when you try to programatically
determine whether the values in a cell are left aligned. In Microsoft Excel
5.0, the same subroutine returns True.
To see an example of this problem, please see the "More Information"
section of this article.
CAUSE
This problem may occur when the cells are formatted with the General
format. In Excel 5.0, if the cell uses the General format, your subroutine
returns True if you test for left alignment. However, in Excel 7.0 or Excel
97, the same subroutine returns False if the cells use the General format.
REFERENCES
For more information about the alignment of cells, click Microsoft Excel
Help Topics on the Help menu, click the Index tab in Microsoft Excel 7.0
Help, type the following text
and then double-click the selected text to go to the "Basic Formattting"
topic.
Additional query words: XL97 7.0 XL
Keywords: kbprb kbdtacode KB186765