Code does not have combobox name correct. Should be ComboBoxUserSelect not ComboUserSelect. Precede controls with form reference or its Me shortcut to discover errors like that: Me.ComboBoxUserSelect.
Also misspelling of LoginForm it shows LoginFrom. So that's why doesn't close.
It is not necessary to type .Value property because it is default for data controls.
Code does not have combobox name correct. Should be ComboBoxUserSelect not ComboUserSelect. Precede controls with form reference or its Me shortcut to discover errors like that: Me.ComboBoxUserSelect.
Also misspelling of LoginForm it shows LoginFrom. So that's why doesn't close.
It is not necessary to type .Value property because it is default for data controls.