ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Quick userform question. (https://www.excelbanter.com/excel-programming/321788-quick-userform-question.html)

VB Newbie[_2_]

Quick userform question.
 
I have created a multi-field userform that works fine. However, I am trying
to figure out how to have the cursor automatically appear in the first field
each time I send my fields to a table. I could probably create an
accelerator button for that field and write a quick code for that shortcut,
but I am sure that there is something simpler out there that I'm not hitting
on.

Thank you for your responses!!


Chip Pearson

Quick userform question.
 
You can use the SetFocus method of the control.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"VB Newbie" wrote in message
...
I have created a multi-field userform that works fine. However,
I am trying
to figure out how to have the cursor automatically appear in
the first field
each time I send my fields to a table. I could probably create
an
accelerator button for that field and write a quick code for
that shortcut,
but I am sure that there is something simpler out there that
I'm not hitting
on.

Thank you for your responses!!




VB Newbie[_2_]

Quick userform question.
 
Thank you, Chip, for pointing me in the right direction!!

"Chip Pearson" wrote:

You can use the SetFocus method of the control.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"VB Newbie" wrote in message
...
I have created a multi-field userform that works fine. However,
I am trying
to figure out how to have the cursor automatically appear in
the first field
each time I send my fields to a table. I could probably create
an
accelerator button for that field and write a quick code for
that shortcut,
but I am sure that there is something simpler out there that
I'm not hitting
on.

Thank you for your responses!!






All times are GMT +1. The time now is 12:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com