Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ezhov-da/2dddcc4d6a5a2e482574b344150cf998 to your computer and use it in GitHub Desktop.
Save ezhov-da/2dddcc4d6a5a2e482574b344150cf998 to your computer and use it in GitHub Desktop.
vba работа с буфером обмена.vba
Sub Copy_To_Clipboard()
Dim objClpb As New DataObject, sStr As String
sStr = "Привет"
objClpb.SetText sStr
objClpb.PutInClipboard
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment