Hi all,
I got a worksheet with many combo boxes they're linked to a cell and what my idea is to provide a prompt if one of the cell within the range contain text which is not allowed.
So i got combo box S1-S29
The selection user can click within that combo box is : Kies,1,2,3,4,5
So I tried the following,
Code based on, range, if cell cointains "kies" then msgbox.
This work with single cells but not when used in a range.
I tried multiple codes but I bumped into issues where each cell is checked 1 by 1 but only 1 needs to be correct to bypass the msgbox.
It is hard to explain since I don't got the code anymore.
So could anyone write me a sub regarding my question.
Comboxboxes name convention s1-s29
Linked to cell s1-s29 so result of ^^ will be visible in the cells corresponding to the combobox name3
What I want is that a msgbox apear when a cell within the range s1-s29 has the word "kies" or isEmpty.
And a code that scrolls through all the cells 1 by 1 not all at once.
I got a worksheet with many combo boxes they're linked to a cell and what my idea is to provide a prompt if one of the cell within the range contain text which is not allowed.
So i got combo box S1-S29
The selection user can click within that combo box is : Kies,1,2,3,4,5
So I tried the following,
Code based on, range, if cell cointains "kies" then msgbox.
This work with single cells but not when used in a range.
I tried multiple codes but I bumped into issues where each cell is checked 1 by 1 but only 1 needs to be correct to bypass the msgbox.
It is hard to explain since I don't got the code anymore.
So could anyone write me a sub regarding my question.
Comboxboxes name convention s1-s29
Linked to cell s1-s29 so result of ^^ will be visible in the cells corresponding to the combobox name3
What I want is that a msgbox apear when a cell within the range s1-s29 has the word "kies" or isEmpty.
And a code that scrolls through all the cells 1 by 1 not all at once.