Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Userform doesn't react on enter
Hello helping friends
I've written an application in excel which shows an userform on startup. The problem with this form is that it doesn't react on the enter button. It should run through a couple of textboxes. Only if I click a specialy made 'refresh' button, which hides the form and showes it again in one Sub, solves the problem. My problem is that asking the users to first click the button before using is not very profesional. Thanks in advance Paul |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Userform doesn't react on enter
If you have your Workbook_Open code in ThisWorkbook instead of the standard
code module it should open the form. Then you would need code attached to a control on the form, or the form itself, to initiate the macro to run through the text boxes. Hope this helps. "Paulus" wrote: Hello helping friends I've written an application in excel which shows an userform on startup. The problem with this form is that it doesn't react on the enter button. It should run through a couple of textboxes. Only if I click a specialy made 'refresh' button, which hides the form and showes it again in one Sub, solves the problem. My problem is that asking the users to first click the button before using is not very profesional. Thanks in advance Paul |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Userform doesn't react on enter
Thanks JLGWhiz. The form does open on workbook_open but then doesn't respons on tab or enter to run through a couple of textboxes. Clicking on the buttons however works fine. Strange isn't it? Only if I activate userform.hide and userform.show it the tab or enter works again. Paul |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Userform doesn't react on enter
OK, it seems that you are looking for a change event rather than a click
event. Since I don't know what your current code is, I can't offer much more. "Paulus" wrote: Thanks JLGWhiz. The form does open on workbook_open but then doesn't respons on tab or enter to run through a couple of textboxes. Clicking on the buttons however works fine. Strange isn't it? Only if I activate userform.hide and userform.show it the tab or enter works again. Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Solver doesn't seem to react | Excel Discussion (Misc queries) | |||
cells react different on 2 computers | Excel Worksheet Functions | |||
Any way to react on grouping sheets? | Excel Programming | |||
Have one Macro react to whatever cantrol calls it | Excel Programming | |||
Userform to enter values and shown in same userform in list | Excel Programming |