user form infinit loop
Turn of events at beginning to code and turn them back on at the end
Application.EnableEvents = False
Application.EnableEvents = True
"Paulo" wrote:
hi,
I am designing a Data base.
for feeling it out, I am designing a Userform.
my userform, have a Combobox that by been selected, feels in couple
txtboxes with data from the worksheet.
when I am done, editing the textboxes, I have the button Edit, that will
paste the new values on the worksheet.
My problem is, when I edit, the combobox_change code runs and i get myself
into a infinit loop. is therea way to tel the code not to go there on change?
|