Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default textbox on user form

I have a user form and I would like the cursor to be in the first form field
when it displays. How do I do that?

Thanks
Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 318
Default textbox on user form

Give the control a tabIndex property of 0.

Alok

"Mike" wrote:

I have a user form and I would like the cursor to be in the first form field
when it displays. How do I do that?

Thanks
Mike

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default textbox on user form

Thanks for your reply.

One more question

How do I move the cursor somewhere else programatically?


Thanks again
Mike


"Alok" wrote:

Give the control a tabIndex property of 0.

Alok

"Mike" wrote:

I have a user form and I would like the cursor to be in the first form field
when it displays. How do I do that?

Thanks
Mike

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default textbox on user form

nevermind I found the Setfocus

Mike

"Alok" wrote:

Give the control a tabIndex property of 0.

Alok

"Mike" wrote:

I have a user form and I would like the cursor to be in the first form field
when it displays. How do I do that?

Thanks
Mike

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Form in VB = TextBox Kel Excel Discussion (Misc queries) 1 August 11th 05 12:26 AM
How to: User Form to assign a user defined range to a macro variab TrevTrav Excel Programming 1 March 22nd 05 07:57 PM
Textbox trouble on a user form Oreg[_3_] Excel Programming 7 May 27th 04 12:36 AM
Format of a textbox on a user form controled by a spinner Jeff[_20_] Excel Programming 1 September 9th 03 05:09 AM
User Form textbox formatting Neal[_2_] Excel Programming 0 August 20th 03 08:14 PM


All times are GMT +1. The time now is 09:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"