Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Start editing point in a TextBox

Hi all,

I have a TextBox with 5 characters "WS-PE" in by default. When the user
tab's through the fields on the userform, at Enter this TextBox, I would
like the cursor to be placed in editing mode after character 3.

Can this be done and how in Excel XP ?

In another TextBox my wish is the same, but with the cursor placed at the
end of the default text......how?

Thnaks,
Flemming


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Start editing point in a TextBox

Solved by setting the TextBox property EnterKeyBehavior to
fmEnterFieldBehaviorRecallSelection and SelStart = 3 (or another number)

Flemming



"Flemming Dahl" wrote in message
...
Hi all,

I have a TextBox with 5 characters "WS-PE" in by default. When the user
tab's through the fields on the userform, at Enter this TextBox, I would
like the cursor to be placed in editing mode after character 3.

Can this be done and how in Excel XP ?

In another TextBox my wish is the same, but with the cursor placed at the
end of the default text......how?

Thnaks,
Flemming




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
start at a specific point G. Charts and Charting in Excel 1 October 29th 08 05:19 PM
is vlookup with an inverted start point possible? Sandy Excel Worksheet Functions 9 October 9th 08 06:58 PM
can I pick start point in a range? nastech Excel Discussion (Misc queries) 1 March 15th 06 09:32 AM
how do I chang the start point for my next row? IvanT Charts and Charting in Excel 2 January 20th 05 02:48 PM
Editing date in textbox? Don Wiss Excel Programming 2 September 23rd 03 02:06 AM


All times are GMT +1. The time now is 12:43 AM.

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

About Us

"It's about Microsoft Excel"