how do I make a cmd button that does the same as ctrl + C or rightclick > Copy
Printable View
how do I make a cmd button that does the same as ctrl + C or rightclick > Copy
Clipboard.SetText (Text1.Text)
will copy the Text1 data to the clip board
' Empty the clipboard
Clipboard.Clear
' Put selected text on the clipboard
Clipboard.SetText Screen.ActiveControl.SelText
can i just make it paste into a textfile?
Clipboard.SetText Text1.Text
Text2.Text = Clipboard.GetText