Cancel Out of UserForm Return Focus
Hey Dave,
Thanks for the reply. Your solution works, just wish my code worked
as well!
Cancel = True works the 1st time I double click a cell in column A.
After that, before double clicking stops working altogether
I have two separate columns set up for two different routines
separated by select case statements. They both work the first time.
Neither works after the first use in column A. The routine running
from the column C before double click event, works fine until the
first time I double click on column A. The next time I try to double
click on either column, it doesn't work. I have to close down and
reopen the workbook to reset it.
I don't even know where to begin looking.
Any ideas?
-Minitman
On Sun, 28 Sep 2008 22:32:52 -0500, Dave Peterson
wrote:
Do you mean that the cell is selected or that you're in edit mode for that cell?
If you meant that you're in edit mode, add:
Cancel = True
to your _beforedoubleclick event code.
Minitman wrote:
Greetings,
I am using a Worksheet_BeforeDoubleClick event to go into a UserForm.
When I come out the focus is in the cell I double clicked on.
Is there some way to come out of the UserForm (normally or bug-out)
and not still be in that cell?
Any ideas, thoughts or suggestions would be welcome and appreciated.
-Minitman
|