To paste data from the Clipboard In your view class, implement OnEditPaste to handle users choosing the Paste option from the Edit menu. In the OnEditPaste function, create a COleDataObject object and call its AttachClipboard member function to link this object to the data on the Clipboard. Call COleDataObject::IsDataAvailable to check whether a particular format is available. Alternately, you can use COleDataObject::BeginEnumFormats to look for other formats until you find one most suited to your application.Perform the paste of the format.
In the OnEditPaste function, create a COleDataObject object and call its AttachClipboard member function to link this object to the data on the Clipboard.
Call COleDataObject::IsDataAvailable to check whether a particular format is available.
Alternately, you can use COleDataObject::BeginEnumFormats to look for other formats until you find one most suited to your application.Perform the paste of the format.
还有我是想粘贴到WORD的表格里每个表单元里,望各位大侠不惜笔墨,详细指点,最好带代码!!!
谢谢啊!!!
然后得到你所要操作的word文件的selection
最后用selection.past()函数
望指教啊!!!