Copy Text to Clipboard:
Private Sub CopyTextToClipboard(ByVal TextToCopy As String)
Clipboard.Clear
Clipboard.SetText TextToCopy
End Sub
Paste Text from Clipboard:
Private Function PasteTextFromClipboard() As String
PasteTextFromClipboard = Clipboard.GetText
End Function
It's just that easy! ^_^
No comments:
Post a Comment