Solved

Copy & Paste Buttons

Posted on 2000-05-01
2
211 Views
Last Modified: 2010-05-02
Hi All,

All I want to know is how do I, using a Command Button, Enable data from one of my Text Boxes to be copyed just like the Toolbar option in MS Word for example and also how do I do the same with Paste ???
0
Comment
Question by:jasinski
2 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 10 total points
ID: 2768292
'to copy

Private Sub Command1_Click()
    Clipboard.SetText Text1.Text
End Sub


'to paste

Private Sub Command1_Click()
    Text1.Text = Clipboard.GetText
End Sub
0
 

Author Comment

by:jasinski
ID: 2768775
Another great answer !
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question