Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 151
Default Cursor placement within a form

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Cursor placement within a form

On Mar 19, 1:50*pm, Libby wrote:
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


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?
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
Cursor placement without Macro/VBA dwiba New Users to Excel 3 December 20th 07 01:27 PM
Cursor Placement Adrienne New Users to Excel 2 November 3rd 07 02:15 PM
Cursor Placement WLMPilot Excel Programming 1 November 2nd 06 02:54 PM
excel cell placement by cursor john coon Excel Programming 0 August 9th 05 03:13 PM
Cursor placement Randy New Users to Excel 1 July 11th 05 02:01 PM


All times are GMT +1. The time now is 01:25 AM.

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"