I'm trying to use VBA to view fields in a textbox taken from a spreadsheet. That is working fine. What I want to do, if I want to update said spreadsheet, i.e. I reviewed the text in the textbox but I want to add an update I want to be able to over right the text that is there and put it back in the same cell place within the spreadsheet. I had this working fine on another spreadsheet I did years ago with the following code, but I must have done something else but I can't remember, and I can't find it in my code.
I used this code, and it previously worked, but its not working now, I've obviously forgot to do something.
Sheets("Table").Range("h1") = ComboBox3
Set r = Sheets("Data").Range("j9")
Set c = Sheets("Data").Range("j10")
Sheets("Table").Cells(r, c) = TextBoxtu.Value
Please help
I used this code, and it previously worked, but its not working now, I've obviously forgot to do something.
Sheets("Table").Range("h1") = ComboBox3
Set r = Sheets("Data").Range("j9")
Set c = Sheets("Data").Range("j10")
Sheets("Table").Cells(r, c) = TextBoxtu.Value
Please help