The information in this article applies to:
SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
MORE INFORMATION
To import an entire worksheet, refer to the worksheet without a named
range, but include an exclamation point (!). For example, the following
sample code will import Sheet5 from a workbook named T.XLS in C:\.
In Microsoft Access 7.0 or 97:
In Microsoft Access 2.0:
If you do not specify a value for the last argument, Microsoft Access will
import the first worksheet that it finds in the workbook. If you specify a
range, that range will be imported from the first worksheet in the
workbook. To specify a range from a specific worksheet, use the syntax in
the following example:
Sheet5!R2C1:R15:C5NOTE: If the sheet name contains a special character, you must enclose it in apostrophes (' '); otherwise, you receive an invalid range error. Additional query words:
Keywords : kbinterop |
Last Reviewed: October 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |