The information in this article applies to:
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.
CAUSEThis 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. MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.asp Example of the problemTo see an example of the problem, follow these steps:
REFERENCESFor 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 aligning cell contentsand then double-click the selected text to go to the "Basic Formattting" topic. Additional query words: XL97 7.0
Keywords : kbdta kbdtacode KbVBA xlvbmigrate xlwin |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |