Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sub CopyToClipBoard( text )
- Set wshShell = CreateObject("WScript.Shell")
- Set oExec = WshShell.Exec("clip")
- Set oIn = oExec.stdIn
- oIn.WriteLine text
- oIn.Close
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement