I want to create a text box that will store the user's input in the variable "UserChoice". The code for this is as follows:
Dim UserChoice As String
UserChoice= Application.InputBox("Enter Type (A, B, C): ", "Input Box Text", Type:=2)
The options the user can type are "A", "B", and "C". Depending on the user's input, subsequent code will execute using If Then statements.
Is there a way for the user to type two or more of the options and have both of the related box of codes execute?
For example, if the user enters "A, B", is it possible to run both If UserChoice = "A" and If UserChoice = "B"?
Thank you
Casestatement or add it as another facet of yourIfstatements.InStrto determine if the letter you're looking for is there.