Put following code at start of commandbutton-code
Coloring textboxtext will only work if enabled. They are now greyed out because of disabling them.Code:For Each it In Array(7, 8, 9, 17) If Me("Textbox" & it) = vbNullString Then MsgBox "Missing value": Exit Sub Next




Reply With Quote
Bookmarks