Hi everyone,
I hope you are all well.
Im working on a protected spreadsheet that has a combination of textboxes and cells in which I need to be able to tab from a cell to a textbox and back again.
I can tab from a cell to a textbox ok by working out what cell the tab key *should* have taken the cursor to and then using textbox1.activate to put the cursor where I want it.
The problem is that the focus of the spreadsheet is not at the textbox that I have redirected it to and logically enough it is still at the cell that it would have been until I redirected it. I naturally assumed that 'textbox1.setfocus' would work to line things up but I textbox1 does not seem to have that method associated with it.
Any ideas please?
B.
I hope you are all well.
Im working on a protected spreadsheet that has a combination of textboxes and cells in which I need to be able to tab from a cell to a textbox and back again.
I can tab from a cell to a textbox ok by working out what cell the tab key *should* have taken the cursor to and then using textbox1.activate to put the cursor where I want it.
The problem is that the focus of the spreadsheet is not at the textbox that I have redirected it to and logically enough it is still at the cell that it would have been until I redirected it. I naturally assumed that 'textbox1.setfocus' would work to line things up but I textbox1 does not seem to have that method associated with it.
Any ideas please?
B.