abdo meghari
Well-known Member
- Joined
- Aug 3, 2021
- Messages
- 612
- Office Version
- 2019
Hi experts
I want preventing move set focus cursor for to next textbox for the same row on userform if the previous textbox for the same row is empty
it should move to next row and start set focus cursor from first textbox in column ITEM when the whole textboxes previous are filled (if one of them not filled then should not move to next empty row should keep focus cursor for previous textbox in the same row is not all of textboxes are filled .
the textboxes numbers start from column ITEM for each row consecutive textbox66:72 and second row start textbox73:79 and so on for the rests of rows .
when filling the whole row should move to next row
but when try to move to next textbox for the same row as in the picture should not move cursor to textbox74 and keep cursor into textbox 73
and if there is textbox is empty but the rest of textboxes are filled with the same row then should keep set focus cursor into textbox72 without move to next row (textbox73)as this picture
in others words , should not move to next textbox if the pervious textbox is empty and keep the cursor in pervious textbox is empty .
thanks in advance
I want preventing move set focus cursor for to next textbox for the same row on userform if the previous textbox for the same row is empty
it should move to next row and start set focus cursor from first textbox in column ITEM when the whole textboxes previous are filled (if one of them not filled then should not move to next empty row should keep focus cursor for previous textbox in the same row is not all of textboxes are filled .
the textboxes numbers start from column ITEM for each row consecutive textbox66:72 and second row start textbox73:79 and so on for the rests of rows .
when filling the whole row should move to next row
but when try to move to next textbox for the same row as in the picture should not move cursor to textbox74 and keep cursor into textbox 73
and if there is textbox is empty but the rest of textboxes are filled with the same row then should keep set focus cursor into textbox72 without move to next row (textbox73)as this picture
in others words , should not move to next textbox if the pervious textbox is empty and keep the cursor in pervious textbox is empty .
thanks in advance