VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Copy, cut or paste command code.

by King Seh Horng (15 Submissions)
Category: Files/File Controls/Input/Output
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 11th April 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Copy, cut or paste command code.

Rate Copy, cut or paste command code.




' To cut
clipboard.clear
clipboard.settext text1.seltext
Let text1.seltext = "" 'Clear the selected text

'To copy, it is similiar:-
clipboard.clear
clipboard.settext text1.seltext

'To paste
cb = clipboard.gettext
sendkeys cb

'For further information about my code, pls e-mail me at [email protected]

Download this snippet    Add to My Saved Code

Copy, cut or paste command code. Comments

No comments have been posted about Copy, cut or paste command code.. Why not be the first to post a comment about Copy, cut or paste command code..

Post your comment

Subject:
Message:
0/1000 characters