Data Parsed Incorrectly when Pasted or when Text File Opened
ID: Q85941
|
The information in this article applies to:
-
Microsoft Excel for Windows, version 4.0
-
Microsoft Excel for the Macintosh, version 4.0
SYMPTOMS
In Microsoft Excel 4.0, when you paste tab-separated data from another
application, the data may not be parsed correctly if the Text Column
Delimiter is set to something other than Tab.
Instead, the data is pasted to a single cell or column. In Microsoft Excel
for Windows, vertical bars (|) will appear in place of the tabs. In
Microsoft Excel for the Macintosh, blank spaces will appear in place of the
tabs.
CAUSE
This problem may occur under either of the following conditions:
- When you paste a dialog box definition table from the Dialog Editor, a
table from Word for Windows or Word for the Macintosh, or tab-separated
text from Notepad or from some other text editor.
When you copy data from another application, the data is initially
copied to the Clipboard. When the data is pasted from the Clipboard to
your Worksheet or Macro sheet, Microsoft Excel uses the current Text
Column Delimiter setting in the File dialog box for parsing the data
from the Clipboard. If you have set the Text Column Delimiter to
something other than Tab, the data will not be parsed correctly.
-or-
- When you open a tab-delimited text file with the Column Delimiter set to
something other than Tab.
WORKAROUND
To correct the problem, set the Column Delimiter option to Tab, and paste
the data again. To do so, follow these steps:
- From the File menu, choose Open.
- Select the Text option button.
- Select the Tab option in the Column Delimiter group.
- Choose the OK button in the Text File Options dialog box and choose
Cancel in the File Open dialog box to return to your worksheet.
REFERENCES
"User's Guide 2," version 4.0, pages 149-150
Additional query words:
parse pipe
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: March 24, 1999