On one worksheet I have a scrollable textbox. I am finding it stays 'scrolled' where the last person left it positioned, be it the middle or bottom or wherever. I want each time the worksheet is activated to ensure the shown text starts from the top.
I can make the textbox visible or hidden using
<CODE>
ActiveSheet.Shapes("Instructions").Visible = False
ActiveSheet.Shapes("Instructions").Visible = True
<CODE END>
I've tried various options found from a search, but I do not understand the syntax. They all refer to a form -
<CODE>
TextBox1.SetFocus
TextBox1.SelStart = 0
<CODE END>
but I do not understand what "TextBox1." is on the front. At the same time, I found "Textbox1.Visible" was the way to show/hide the texbox, and my coding method for that works. But it doesn't work for '.SetFocus', '.Curline', 'SelStart' or any other set of (1 or more) commands to achieve what I want.
Can someone advise what the syntax should be? Thanks!
I can make the textbox visible or hidden using
<CODE>
ActiveSheet.Shapes("Instructions").Visible = False
ActiveSheet.Shapes("Instructions").Visible = True
<CODE END>
I've tried various options found from a search, but I do not understand the syntax. They all refer to a form -
<CODE>
TextBox1.SetFocus
TextBox1.SelStart = 0
<CODE END>
but I do not understand what "TextBox1." is on the front. At the same time, I found "Textbox1.Visible" was the way to show/hide the texbox, and my coding method for that works. But it doesn't work for '.SetFocus', '.Curline', 'SelStart' or any other set of (1 or more) commands to achieve what I want.
Can someone advise what the syntax should be? Thanks!