Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The whole Excel workbook may be pasted when you paste only the copied cells into another program


View products that this article applies to.

Symptoms

If you double-click a range of cells that have been copied from a Microsoft Excel workbook and then pasted into another program, such as Microsoft Word or Microsoft Outlook, the contents of the wholee workbook may be visible, not just the copied cells.

This may cause a problem if the workbook contains information that you do not want others to see.

↑ Back to the top


Cause

This problem may occur if you paste the copied cells as a Microsoft Excel Worksheet Object.

↑ Back to the top


Resolution

To prevent this problem, make sure that you paste the copied cells in a format other than an Excel Worksheet or an Excel Worksheet Object. One method of doing this is to use the Paste Special command, as in the following example:
  1. In Excel, copy the range of cells that you want to appear in another program.
  2. Switch to the other program, and then put the insertion point where you want the copied cells to be pasted.
  3. On the Edit menu, click Paste Special.
  4. In the list of formats, select one of the following:
          Unformatted Text            Bitmap
          Unformatted Unicode Text    Picture
          Formatted Text (RTF)        Picture (Bitmap)
          HTML                        Picture (Metafile)
          Text                        Picture (Enhanced Metafile)
    					
    Note Do not select either Microsoft Excel Worksheet or Microsoft Excel Worksheet Object.

  5. Click OK.
The copied cells are pasted into the program. If you double-click the pasted cells, other cells and worksheets in the workbook are not visible.

↑ Back to the top


More information

When you copy a range of cells in Excel, you can paste the cells into another program using several different formats, including text, HTML, and pictures.

You also have the option of pasting the cells as a Microsoft Excel Worksheet Object. The worksheet object contains all of the data from the workbook, not just the cells you copied. As a result, you can view all of the cells in the workbook.

If you click Paste on the Edit menu in another program, the copied cells may be pasted as a Microsoft Excel Worksheet Object. For this reason, it is recommended that you use Paste Special and select one of the formats listed earlier if you want to ensure that only the copied cells are visible when you paste them into another program.

↑ Back to the top


Keywords: KB232866

↑ Back to the top

Article Info
Article ID : 232866
Revision : 7
Created on : 1/24/2007
Published on : 1/24/2007
Exists online : False
Views : 272