ACC: Copy and Paste Field in Datasheet View Includes Column Name

Last reviewed: May 21, 1997
Article ID: Q168219
The information in this article applies to:
  • Microsoft Access versions 2.0, 7.0, 97

SYMPTOMS

Novice: Requires knowledge of the user interface on single-user computers.

If you select and copy the data in a cell of a table, a query, or a form in Datasheet view, when you paste the data elsewhere, the data includes the name of the column in the datasheet.

CAUSE

You selected the entire cell, not just the data in the cell. When you select and copy an entire cell in Datasheet view, Microsoft Access automatically includes the column name.

STATUS

This behavior is by design.

MORE INFORMATION

Microsoft Access provides two ways to copy and paste data from a cell in Datasheet view. You can select and copy just the data itself, or you can select and copy the entire cell. By default, copying the entire cell includes the column name.

Selecting and Copying Only the Data in a Cell

  1. Open your table, query, or form in Datasheet view.

  2. Click inside a cell where you want to begin selecting data, and drag the mouse pointer across the data. Make sure the pointer is an I-beam shape while you drag.

    If you want to use your keyboard to select all the data in a cell without selecting the column name, click anywhere inside the cell and press F2.

    NOTE: By using these methods, you can only select the data in a single cell of the datasheet.

Selecting and Copying an Entire Cell or Multiple Cells

Whenever you select and copy an entire cell or multiple cells in your datasheet, Microsoft Access automatically includes the column name(s) when you paste the data.

  1. Open your table, query, or form in Datasheet view.

  2. Point to the left or the upper edge of the cell until your pointer changes to a plus shape (or an arrow in Microsoft Access 2.0).

  3. Click, and note that the entire cell is selected. If you copy and paste the data into another application, such as Notepad or Microsoft Excel, the column name will also be pasted.

If you want to select multiple cells, in step 3, drag the pointer over the cells you want, instead of clicking in one cell.

REFERENCES

For more information about ways to copy or move data in Microsoft Access, search the Help Index for "copying data," or ask the Microsoft Access 97 Office Assistant.

For more information about how to select fields and records in Datasheet view, search the Help Index for "selecting fields and records," or ask the Microsoft Access 97 Office Assistant.


Additional query words: paste cursor select highlight field column
Keywords : kbui
Version : 2.0 7.0 97
Platform : WINDOWS
Hardware : x86
Issue type : kbprb
Resolution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.