my problem is,i cannot repeat a time in time out in every hour
my problem is,i cannot repeat a time in time out in every hour
Once you code encounters the Show command for a form control is given to that form. The form has limited access to the worksheets. If you want full read/write access you must lodge the code in a standard code module. Therefore you need this kind of structure:-
In the attached workbook I introduced the above setup.I also made the CbxCode a multi-column combobox so as to avoid the many references to the sheet you had. Look for my reference number (253). Wherever you find it I made changes.
Unfortunately, I didn't understand your question. You should explain the work flow into which the form will be integrated.