I am using a UF that the user enters details on that need to be appended to a range in a worksheet.
Once the data has been added and pasted into a holding worksheet, the UF is closed via an Unload commande but when some of the non UF code is executing, the code for some controls are executing.
E.g.
All this is in a module and not behind the UF and each of the variables refer to items that were addedin the UF so strPerson was added via a combobox, dtDateOut was added via a textbox.
Now when each of these lines of code execute the combobox control for selecting the person executes 'cbPerson_Change'.
I have no clue as to why this is happening and wondered if anyone else has experienced this odd behavior.
Once the data has been added and pasted into a holding worksheet, the UF is closed via an Unload commande but when some of the non UF code is executing, the code for some controls are executing.
E.g.
Code:
strCategory = rngGoodsOut.Offset(0, 0)
strPerson = rngGoodsOut.Offset(0, 1)
dtDateOut = rngGoodsOut.Offset(0, 2)
strItem = rngGoodsOut.Offset(0, 3)
lngQty = rngGoodsOut.Offset(0, 4)
Now when each of these lines of code execute the combobox control for selecting the person executes 'cbPerson_Change'.
I have no clue as to why this is happening and wondered if anyone else has experienced this odd behavior.