Pages

Tuesday, January 24

Copy text from clipboard (ctrl+c) and store into string

Hello friends,

Sometimes you need to retrieve and store text/data from MS clipboard. Here is the simple code to achieve that..

Dim objCB
Set objCB= CreateObject("Mercury.Clipboard")
str_1 = objCB.GetText
MsgBox str_1

4 comments:

  1. pls give clearly

    ReplyDelete
  2. In any case, a SMS aircraft is a product program that copies a similar message on different occasions and sends every one of the messages to a companion as a joke.
    free sms bomber

    ReplyDelete
  3. thanks for your proclaim. Ive been thinking about writing a totally similar publicize a ways alongside than the closing couple of weeks, sick probably cash it immediate and adorable and associate to this in any other case if thats cool. thanks. photostat machine

    ReplyDelete