Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: Error Message When You Use the Lotus File Combine Command in Macro


View products that this article applies to.

This article was previously published under Q214018

↑ Back to the top


Symptoms

In Microsoft Excel 2000, if you run a Lotus 1-2-3 macro that contains a File Combine command, you may receive the following error message
Macro error at cell: cell reference
where cell reference is the cell that contains the File Combine command.

You may also receive one of the following error messages
Cannot find 'filename'
-or-
filename: File format is not valid
where filename is the name of the file that is being combined.

↑ Back to the top


Workaround

To work around this behavior, use the Macro Interpreter in Microsoft Excel to run a Lotus 1-2-3 macro that performs the File Combine command. Make sure the following conditions are true:
  • Use the .wk1 format to save the Lotus file that is being combined. (The .wk3 format does not run correctly in this case.)
    -and-
  • Make sure the file that is being combined is located in the working folder.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


More information

The File Combine command in Lotus 1-2-3 extracts cells from one file and places them at the active cell location in the current document. This feature was developed with early text-based versions of Lotus 1-2-3.

Microsoft Excel does not have a direct equivalent of the File Combine command, but you can simulate it manually.

How to Simulate the Lotus 1-2-3 File Combine Command in Microsoft Excel

  1. Open the source file.
  2. Open the target file.
  3. In the source file, select the range that you want to combine with the target file.
  4. On the Edit menu, click Copy.
  5. In the target file, activate the starting cell location.
  6. On the Edit menu, click Paste.
The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

↑ Back to the top


References

For more information about File Formats for Lotus 1-2-3, click Microsoft Excel Help on the Help menu, type formats, file in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


Keywords: KB214018, kbpending, kbbug

↑ Back to the top

Article Info
Article ID : 214018
Revision : 4
Created on : 9/27/2003
Published on : 9/27/2003
Exists online : False
Views : 251