The information in this article applies to:
SUMMARY
Microsoft Excel versions 5.0 and later can read Lotus 1-2-3 worksheets. In
addition, you can create a Visual Basic for Applications procedure to
automatically open each Lotus 1-2-3 file in a specified folder (directory)
and save it as a Microsoft Excel workbook file (.XLS).
Q122583 XL5: AppNote: Lotus 1-2-3 WK4 File Converter (WE1130) 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.aspTo insert a Visual Basic module into a workbook in Microsoft Excel versions 5.x and 7.x, click the Insert menu, point to Macro, and click Module. To insert a Visual Basic module into a workbook in Microsoft Excel 97, click the Tools menu, point to Macro, and click Visual Basic Editor. Then, click Module on the Insert menu. After you have inserted a module into your workbook, enter the following code into the module:
Before you run the macro, make sure the folder where the Lotus 1-2-3 files
are located is set as the current folder. In Microsoft Excel 97, on the
Tools menu, point to Macro, and click Macros. Then, click LotusConverter in
the list of macros, and click Run. In Microsoft Excel version 5.0 or 7.0,
on the Tools menu, click Macro, click LotusConverter in the list of macros,
and then click Run.
The macro will proceed without your intervention unless a duplicate file name is found (in which case you will be prompted to change the duplicate file name). Additional query words: 97 batch converter multiple files
Keywords : kbprg kbdta KbVBA xlwin |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |