Position cursor in TextBox in form

T

Tim Golobic

I would like to be able as part of a macro to position the cursor to a
spot in a TextBox, but am unable to find a command to move the cursor.
The MoveRight, etc. from Word does not work in Excel.

For example. if the default text in the Text Box is "ABCDEFG" and the
macro would place the cursor between C and D.

Thanks

Tim
 
J

Jim Gordon MVP

Hi Tim,

Check the SelStart Property to see if it fills this need.

-Jim Gordon
Mac MVP

All responses should be made to this newsgroup within the same thread.
Thanks.

About Microsoft MVPs:
http://www.mvps.org/

Before posting a "new" topic please be sure to search Google Groups to see
if your question has already been answered.

An Excel add-in is available to help with this task.
<http://www.rondebruin.nl/Google.htm>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top