Created
January 21, 2014 03:35
-
-
Save zhimiaoli/8534064 to your computer and use it in GitHub Desktop.
使用VBA设置剪贴板
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function setclip(text As String) | |
Dim clip As MSForms.DataObject | |
Set clip = New MSForms.DataObject | |
clip.SetText text | |
clip.PutInClipboard | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment