Good morning
i've spent the last few evenings reading and trying different examples (dozens) of how to copy the information in a textbox to the clipboard in excel. I've gotten close on some of the examples while others give me the infamous two boxes or two question marks
I have a command button in a worksheet named Injects, there is a text box "textbox111" want to to click the button and have the info from this text box stored in the clipboard
Private Sub CommandButton2_Click()
Dim strbox As String
strbox = TextBox111
Range(TextBox111).Copy
End Sub
i have had no luck, any help would be much appreciated
i've spent the last few evenings reading and trying different examples (dozens) of how to copy the information in a textbox to the clipboard in excel. I've gotten close on some of the examples while others give me the infamous two boxes or two question marks
I have a command button in a worksheet named Injects, there is a text box "textbox111" want to to click the button and have the info from this text box stored in the clipboard
Private Sub CommandButton2_Click()
Dim strbox As String
strbox = TextBox111
Range(TextBox111).Copy
End Sub
i have had no luck, any help would be much appreciated