There are two ways to work around this problem. Both correctly resolve the
cells containing formulas. However, the first is the easiest and
recommended method to use.
- In Microsoft Excel, save the file as as a .dbf file. Then open the .dbf
file in Visual FoxPro with the USE <dbf name> command.
- Use an ODBC connection to the Microsoft Excel file. Create a remote view
or cursor that can be then copied to a ,dbf file with the COPY TO <new
table name> command. The actual steps in creating the ODBC connection
are beyond the scope of this article due to the varying factors which
weigh in the process. For more information about ODBC, please see the
following articles in the Microsoft Knowledge Base:
130732 How To Create a Data Source to Access Microsoft Excel Files
130137 How to Use ODBC to Run SQL SELECT on Microsoft Excel Data