ACC97: New Microsoft Excel Data Does Not Appear in Microsoft Access Form (166353)
The information in this article applies to:
This article was previously published under Q166353 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you create a Microsoft Access form in Microsoft Excel that is based
on data in a spreadsheet, and you then add additional information to that
spreadsheet, the data that you added is not updated in the Microsoft Access
form, even though it is highlighted in the Microsoft Excel spreadsheet.
CAUSE
The information that is sent to Microsoft Access is defined by a named
range in the spreadsheet. The named range is not updated when you add
additional rows of information to the spreadsheet.
RESOLUTION
You must redefine the named range in the spreadsheet. To redefine a range
of cells in Microsoft Excel, follow these steps:
- On the Insert menu, point to Name, and then click Define.
- In the Define Name box, click the named range for the Microsoft Access
form in the Names In Workbook box. The name for the range will probably
be similar to the following:
Book1_Sheet1_List
- Select the range in the Refers To box and modify the range to include
any newly added rows. You can do so by typing the new range in the box.
NOTE: The Refers To box displays the reference, formula, or constant the
name represents.
- After you have modified the range, click OK.
- Click View MS Access Form on the spreadsheet. The newly added
information should be available in the Microsoft Access form.
REFERENCES
For more information about the AccessLinks feature in Microsoft Excel,
search the Microsoft Excel Help Index for "AccessLinks Add-in," and then
"Create a Microsoft Access form for a Microsoft Excel list."
For more information about defining ranges in Microsoft Excel, search
the Microsoft Excel Help Index for "ranges of cells, references to."
Modification Type: | Major | Last Reviewed: | 10/22/2003 |
---|
Keywords: | kbinterop kbprb KB166353 |
---|
|