1. 打开excle, sheet1右键单击>查看代码>插入>模块
输入代码
Sub CopyText()
'Updated by Nirmal
Dim xAutoWrapper As Object
Set xAutoWrapper = New DataObject 'or GetObject("New:{1C3B4210-F441-11CE-B9EA-00AA006B1A69}")
xAutoWrapper.SetText ActiveCell.Text
xAutoWrapper.PutInClipboard
End Sub