Article ID: 216676 - Last Review: June 29, 2004 - Revision: 3.4 How To Add Custom Table to the Clipboard to be Pasted into WordThis article was previously published under Q216676 SUMMARY This article shows how to place a custom table on the
clipboard so that it is recognized by Microsoft Word as a table when pasting
into a document. MORE INFORMATION When pasting text into a document, Microsoft Word does not
recognize common table formats such as tab-delimited text and CSV (Comma
Separated Values). However, it does recognize Rich Text Format (RTF). By
building your custom table in RTF and adding it to the clipboard, you can then
paste the information into Word as a properly formatted table. The following code demonstrates how to add a table to the clipboard in both RTF and tab-delimited text so it can be pasted into Microsoft Word and/or Microsoft Excel: REFERENCES For more information on using RTF, please see the RTF
specification in the MSDN under "Rich Text Format (RTF) Specification and
Sample RTF Reader Program." Please be aware that Microsoft does not provide technical support for the RTF reader code or the RTF specification. If you have trouble creating RTF syntax, you can always use Microsoft Word to create some examples for you. Just create a Microsoft Word document with the type of data you are interested in, save it as RTF and open it in Notepad. APPLIES TO
| Article Translations
|
Back to the top
