Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2008

Tip: Looking for answers? Try searching our database.

Cursor placement within a form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Libby - 19 Mar 2008 18:50 GMT
Hi there,

I have a workbook with one worksheet and a userform.
The userform is loaded by clicking a button on the worksheet and it has on
it textboxes for information to be entered.

The information that goes in these textboxes is often source from other open
applications and the user toggles between the workbook and this application
via alt+tab.

The problem is that supposing textbox1 on the userform has focus and the
user goes to another application to get information, when they return to the
from textbox1 has lost focus and and has to be clicked again.

Is there anyway to retain the focus of a control on a userform when
returning to it from another application?

Many thanks in advance
Shaka215@gmail.com - 24 Mar 2008 20:53 GMT
> Hi there,
>
[quoted text clipped - 14 lines]
>
> Many thanks in advance

Why not set it so that

If Len(TextBox1.Value)>0 Then
TextBox2.Visible = True
End If

That way if the textbox 1 is empty it wont allow the end-user to jump
to the next textbox?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.