AnthonyMinnaar
New Member
- Joined
- Aug 25, 2020
- Messages
- 28
- Office Version
- 2013
- Platform
- Windows
Hi all, I was wondering if there's a way to send the value of a textbox to a cell (see picture below).
I have found a post on the forum where someone posted the following:
Private Sub OK_Click()
Sheets("Sheet1").Range("C9") = TextBox1.value
Sheets("Sheet1").Range("C10") = TextBox2.value
End Sub
But I cant seem to make this work, what am I doing wrong?
thanks in advance,
Anthony
I have found a post on the forum where someone posted the following:
Private Sub OK_Click()
Sheets("Sheet1").Range("C9") = TextBox1.value
Sheets("Sheet1").Range("C10") = TextBox2.value
End Sub
But I cant seem to make this work, what am I doing wrong?
thanks in advance,
Anthony