Well guys, I'm making some work with Excel, and I wanted to put 2 comand buttons so they copy a value or result of one cell to the clipboard...
Anyway... Can someone point me to a tutorial that explains Visual Basic with Excel, please??? Or explains me what I need to do...???
Example of how excel is working:
In a easy way, a result is shown on the Cell (B2) depending on what I specify in other... So B2 has a function, that shows a value depending on what I specify... So, I want to make a button that copies the result on B2 on clipboard...
If someone could help, I would realy apreciate
And... Just adding this code that I've changed a little, but still doesn't work:
Private Sub CommandButton1_Click()
Dim n As Integer
For n = 17 To 17
cell.Value(n, 2) = Copy(cell)
Next n
End Sub