ACC: Named Excel Range Must Contain More Than One CellID: Q186309
|
Novice: Requires knowledge of the user interface on single-user computers.
Microsoft Access allows you to import a named range from a Microsoft Excel
worksheet. However, you cannot import a named range limited to a single
cell.
Although Microsoft Excel can create a named range consisting of a single cell, Microsoft Access cannot recognize such a range.
Create a named range that contains the cell with data and at least one
extra cell for the range to be recognized by Microsoft Access. This extra
cell can be blank. If you create a named range that contains cells in two
adjacent columns, the Microsoft Access Import Wizard will allow you to
choose a field to exclude from the import action.
To reset a range so that it contains more than one cell, follow these
steps:
=Sheet1!$A$1
=Sheet1!$A$1:$B$1
A1: TEST1
For more information about linking, search the Access Help Index for
"Excel, importing and linking Microsoft Excel data," or ask the Office
Assistant.
For more information about named ranges, search the Excel Help Index for
"named range," select "Name cells in a workbook" from the Topics Found
dialog box, or ask the Office Assistant.
Keywords : kbinterop kbdta
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 29, 1999